I've checked the manual and GUI-X9 has functions to read values from the setup.ini file (readsetupline) but nothing I've been trying seems to work. I need to read a custom value from the setup file so the game can decide whether to show the intro video and start a new game or to load the existing game.
Here is the script so far:
:state=0:usegui=1,makesvar=menustate,readsetupline=menustate resumegame,state=1
:state=1,varequal=menustate 0:playfullvideo=1,video=videobank\introvid.wmv,destroy
:state=1,varequal=menustate 1:quitgame
:always:debugvar=menustate
Can anyone who has experience with these commands or the source take a look and see what the commands do and how to make them work correctly?
Official LightStorm Engine BETA Tester
/?m=forum_view&t=190541&b=21