OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: screamingeagle_101 on 09 Nov 2002, 16:20:43
-
How do you make a unit stop for a period of time and make him move after a specific amount of time, when I radio for them to move, and when a different unit activates a trigger/waypoint?
-
You give the unit/s a waypoint to the place where they should wait.In the waypoints condition field write:
wp1==1
Now make another waypoint to the place where they should go after you call them.
Make a trigger which is activatet by a radiocall (Radio Alpha)
And in it's OnActivation field type:
wp1=1
Then after you call for them they'll continue to there next waypoint
-
or, you can just use boolean arguments:
cond: wp1
radio call: wp1=true
;)
As to the others:
time: make a trigger, and make the condition to something which is set to true when the unit reaches the waiting waypoint (for instance a Present trigger), and then give it a timeout (in the small boxes labeled Min Max and Med, short for Minimum, Maximum and..uhm, Medium ::) ). This timeout is in seconds, just put the same amount in all boxes for an exact count.
other unit: just put the wp1=true into the other unit's trigger/waypoint on Activation field.
Problems? Just complain, and we'll be right on it :D G'luck...
Wolfrug out.
-
methinks, median, sir? 8) median = average (if you set min 10, max 30, and med 25: on average, it will wait between 10 and 25 seconds as often as it does between 25 and 30 seconds)
-
listen wiseguy... >:( ;)
Thanks, that's probably it :D I really learned something today... :o
Right, no more smileys for me... :P :-X
('s the Tomb disease! run!) ??? ??? :o
::) Wolfrug out. ::)