Console Variables

Status
Not open for further replies.
Is it possible to check the value of console variables in Lua?

For example, I want to know when the level ends, and perform some commands when it happens.
 
Only if it's a custom console variable you created yourself (in which case you simply create a new local variable set to CV_RegisterVar's return value for your new console variable, which you can reference later through variable.value etc). If you're talking about one of the game's own pre-existing console variables ...I'm afraid you're stuck there.
 
So you're telling me the hard coded in game commands can't be linked with lua? That seriously sucks, this could be a suggestion.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top