Jump to content
Sign in to follow this  
PorkchopExpress

Trigger stopping script?

Recommended Posts

hi PorkchopExpress,

it's surely not the best solution but that's my way smile.gif

i would set a trigger and enter in on activation: stoptrigger=1

u call ur script with: [stoptrigger] exec yourscript.sqs

and inside your script u write a loop:

_stoptrigger = _this select 0

#update

?(_stoptrigger == 1) : goto "end"

bla bla

bla bla

goto "update"

#end

exit

finish - i think, hope, guess that would work smile.gif

greetz

thomas

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×