SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Editing > Editing Help

Reply
 
Thread Tools Search this Thread
Old 03-25-2014   #1
Jazz
 
Jazz's Avatar
Default Accessing existing console variables via Lua

This is either a Lua related question or a feature request depending on the answer.

I would like to check the value of an arbitrary existing console variable that isn't one that I created, since I can already access those. How would I go about doing this?
__________________
Now that's a real game logo.

Last edited by Jazz; 03-25-2014 at 08:41 AM.
Jazz is offline   Reply With Quote
Old 03-25-2014   #2
Monster Iestyn
Fangtastic
Administrator
 
Monster Iestyn's Avatar
Default

As far as I'm aware you can't do that with any existing console variables sadly.

The annoying thing is, there's no full list of console commands or variables located anywhere in the source - they're all scattered everywhere around it instead. Probably no surprise Lua doesn't have the ability to do this currently really.
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".
Monster Iestyn is online now   Reply With Quote
Old 03-25-2014   #3
Jazz
 
Jazz's Avatar
Default

That is too bad, I imagine that it would be useful to be able to respect existing console variables in Lua.

Perhaps if CV_FindVar were usable through Lua...
__________________
Now that's a real game logo.

Last edited by Jazz; 03-25-2014 at 08:13 PM.
Jazz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.