OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Resources Beta Testing & Submission => Topic started by: titan on 15 Apr 2003, 17:05:03

Title: loop thingy
Post by: titan on 15 Apr 2003, 17:05:03
ok, i was wonder how do you have many things in one script, as in....say i wanted 2 things being made within 2 seconds of each other, while i had the same thing but smewhere else :-\ and it was repeating...

#loop
_bang = "heat120" camcreate getpos target1
~2
_bang1 = "heat120" camcreate getpos target1
~2
goto "loop"

(and while thats going on, this is happening at the same time...but still in the same script!)

#start
_boom = "heat120" camcreate getpos target2
~2
_boom1 = "heat120" camcreate getpos target2
~2
goto "start"



Title: Re:loop thingy
Post by: titan on 15 Apr 2003, 18:01:55
sry, i just relised i posted this in the wrong place...im going to put it in the Scripting General!

So cld an Admin block this off!
Title: Re:loop thingy
Post by: Sui on 16 Apr 2003, 01:32:35
As requested... :)

All replies to this thread to here (http://www.ofpec.com/yabbse/index.php?board=11;action=display;threadid=8631).

Titan, in future you could just contact a moderator and ask them to move the thread for you... ;)

# Topic Locked