I'm trying to setup a simple timer from a terminal.
When the player hits a terminal menu option, the timer should begin.
Once it's counted down from say, 5 seconds, it randomly changes a variable to a certain percentage.
IF the percentage is below 50%, then a message pops up.
Whatever I try, it just doesn't seem to popping up with any message.
It should at the very least be popping up with the debug message Ive set in the header of the script to notify me that at least 5 seconds have gone by.
short vortexencounterfloat timerbegin GameMode if timer < 5 set timer to timer + GetSecondsPassed else set vortexencounter to getrandompercent showMessage defaulttester set timer to 5 endifif vortexencounter <= 50 ShowMessage AhaOneofThoseHERE endifend
any ideas what I'm doing wrong? Appreciated