icfhoop 0 Posted May 18, 2008 Hello all, I am currently working on a defense mission but i am stuck on one thing, and that his how do I make a script stop? Here is the script, cause I want it to end after about 5 min so here is the script.... ; **************************************************************** ; Script file for Armed Assault ; Created by: TODO: Author Name ; **************************************************************** #loop Playsound "incoming1" ~6 goto "loop" Share this post Link to post Share on other sites
dachevs 1 Posted May 18, 2008 I am not quite sure of this either? it might be add in: ~300 goto "end" #end Exit Share this post Link to post Share on other sites
Rommel 2 Posted May 18, 2008 Hello all, I am currently working on a defense mission but i am stuck on one thing, and that his how do I make a script stop? Here is the script, cause I want it to end after about 5 min so here is the script....; **************************************************************** ; Script file for Armed Assault ; Created by: TODO: Author Name ; **************************************************************** #loop Playsound "incoming1" ~6 goto "loop" <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _t = 0; #loop _t = _t + 6; Playsound "incoming1"; ~6 ?(_t < 300): goto "loop"; exit; Share this post Link to post Share on other sites