BlackFox
I have a question about using "dimvar".
When ever I setup my script using "dimvar" I need to place it
at state=0, as in
:state=0:dimvar=timecounter
:state=0:hudreset,hudx=50,hudy=5,hudimagefine=gamecore\huds\user\timeleft.dds,hudname=timeleft,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=10,hudsizex=24,hudsizey=24,hudimage=gamecore\huds\bodycount_red.dds,hudtype=6,huduservar=timecounter,hudmake=numeric
:state=0:state=1
But I noticed you were able to place your "dimvar" later on in the script as in your "Key's Main script"
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pickedupakey.tga,hudname=keyprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=40:state=1,playertake,coloff,plrsound=audiobank\misc\ping.wav,hudshow=keyprompt,hudfadeout=keyprompt
:state=1:dimvar=key,state=2
:state=2:setvar=key 1,state=3
:state=3:none
Whenever I run a script with "dimvar" after state=0 it seems to crash. I do work around the problem, wondering if there's a solution?
best
You know you're a bad gamer when you're able to run out of infinite lives.