Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I am experimenting with Cvars.

Those are variables set in the server and or client.

List here: https://developer.valvesoftware.com/wiki/List_of_DOTA_2_Cvars

I want to export some of those via the say command but i am missing the syntax to do so.

For example:

say "My Hostport is :%s" %hostport

and

say "My Hostport is :" +hostport

does not work.

If there is a way with autoexec i would love to use that too.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

The console in Source engine is very, very limited, and even more so in Dota 2.

The only 2 things you can do with a cvar are: print it to console and overwrite it.

What you want to do is impossible.

share|improve this answer
    
well thats sad. my intention was to get the current gametime ,(optional) add 10 min and say in allychat "roshan died at, respawns at: x". thx for your clear answer. i will let this question stay unaccepted for 2 days. maybe someone has a solution. –  Wandang Apr 24 '13 at 22:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.