ScriptUO
Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: Citrus82 on July 15, 2014, 03:36:29 AM
-
I made a script that executes and then when it has run through it waits so long and activates again, i was wondering if i could somehow add a wait timer over the top of my characters head that counts down while its waiting.
I could use something like. . .
event exmsg #CHARID 0 40 %time_left
My current wait is set up like this, if it helps.
set %timer #SCNT + 1320
repeat
until #SCNT > %timer
-
set %timer #SCNT + 1320
repeat
set %Time_Left %Timer - #Scnt
event exmsg #CHARID 0 40 %time_left
wait 20
until #SCNT > %timer
-
set %timer #SCNT + 1320
repeat
set %Time_Left %Timer - #Scnt
event exmsg #CHARID 0 40 %time_left
wait 20
until #SCNT > %timer
Thanks for the reply, but i screwed up and lost the whole script (forgot to save it) but if i get the urge to re-write it i'll throw this in there.
Lesson learned, save your work every now and then. . . heh.