Yes for the purpose of visually confirming that this system is working, I picked AMBIENCE=X. (Now forget about AMBIENCE=X maximum set to 100)
Thus far with SETVARRND=VarName X I am not sucessful to assign a variable value to X using the % sign. Perhaps there is another for this task
yes the line:
:state=2:SETVARRND=RANDOMvar %MaximumLightCap,AMBIENCE=%RANDOMvar,state=2
is supposed to repeat over and over again.
I Could always just set the range of the random value manually but I want to make it auto updated so that in the start of the level I say:
SETVAR=MaximumLightCap 42
so then that script will automatically update the random value to be between 0 and 42. Then in the middle of the level I say:
SETVAR=MaximumLightCap 96
and the random value will be randomized between 0 and 96.
Question is, Can the Variable Function...
SETVARRND=VarName X
...use a value of a variable for its X.
Isenstadt Studio: http://isenstadtstudio.com/
Composers Page: Milesthatch.com