VBGamer |
|
Almost done! Mattman (0 replies, 0 views) (2000-Jul-7) Hey David, I'm almost done my *basic* scripting engine...it'll allow for "nested" functions (hopefully I'm using the right term here). Like, you can run multiple functions on one line, similar to this:
SetVar(HeroX, Add(GetVar(HeroX), 1))
So basically, it'll have to run the GetVar function first to get the value of the variable HeroX. It then runs the Add function to add the value of HeroX to 1. It finally runs the SetVar function to set the value of HeroX to HeroX + 1. Gotta love recursion! ;P
Mattman
<mailto:mattman@nobispro.com>
<http://www.nobispro.com> |