PDA

View Full Version : Lich - "Built-in" Variables?



Elerdran
02-11-2017, 06:02 PM
Hey everyone. Sorry if this is already posted somewhere, but maybe someone can point me in the right direction... I'm coming back from a long absence and I'm having trouble remembering some of this stuff.

Is there consolidated documentation of helpful scripting variables that are available to use, either built-in or populated by standard scripts like infomon? The Lich Scripting Reference page on the wiki covers some of GameObj only, but it's incomplete.

I was able to get some basic information by using something like ;e echo Vars.methods, but I'm wondering if there's an actual reference available. If it doesn't exist, it's probably worth adding to the wiki, and I can see what I can come up with.

Thanks for any help!

Eodus
02-11-2017, 06:07 PM
This should get the ball rolling:
http://forum.gsplayers.com/showthread.php?103091-List-of-global-variables-like-Room

Not exactly what you asked for, but it's a start!

Elerdran
02-11-2017, 06:30 PM
Thanks! That's a great list! Looks like you were looking for something similar.

Looking through lich.rbw for variable names is a good idea if there's no other documentation, like one of the posts in your thread mentioned -- I didn't think of doing that.

Eodus
02-11-2017, 06:34 PM
Truth! When in doubt, look at the source.