Jump to content
Sign in to follow this  
flaber

ScriptDone script

Recommended Posts

The command references says that returns true when the script is done, but how I call this command ?

I have tried a script called entrar.sqs with and without parameters that way:

@scriptDone entrar.sqs

;next script....

and nothing works. sad_o.gif

Maybe only works with functions ?. any idea ?

Thanks.

Share this post


Link to post
Share on other sites

_s = [] Spawn compile preprocessFile "my_script.sqf";

WaitUntil{ scriptDone _s };

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  

×