MrZig 0 Posted September 6, 2003 Hi, I'm almost done my mission, but I need a way to keep the helicopter from ever loosing fuel. So I was thinking a script with "heli setfuel 100" but that only works once, how could I make it loop? Thanks Share this post Link to post Share on other sites
SpecOp9 0 Posted September 6, 2003 Make an sqs file. Quote[/b] ]#loop heli setfuel 100 goto loop Something like that... if its not goto loop , try #goto loop Share this post Link to post Share on other sites
MrZig 0 Posted September 6, 2003 Well, I just tried <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> #start heli setfuel 100 goto "start" and I think that works, and thanks Share this post Link to post Share on other sites
RED 0 Posted September 6, 2003 It is: goto "loop" RED Share this post Link to post Share on other sites
Bullz_eye_on_my_back 0 Posted September 7, 2003 You might want to add a delay in there too...so that it doesn't keep running through out the entire mission. That way you can free up more cpu power for the rest of your scripts and game play. Try #start heli setfuel 100 ~240 goto "start" that way it refuels itevery 4 min. it would be one really small gas tank to run out of gas that quickly Share this post Link to post Share on other sites
Chris Death 0 Posted September 7, 2003 And it's: chopper setfuel 1 no 100 required ~S~ CD Share this post Link to post Share on other sites
SpecOp9 0 Posted September 7, 2003 Unless you want a super explosion when it gets Shot down Share this post Link to post Share on other sites