OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Mikeyfish90210 on 04 Mar 2005, 17:04:03

Title: Syncro
Post by: Mikeyfish90210 on 04 Mar 2005, 17:04:03
Ok basically i need to syncronize a unit to move to a waypoint after something has happened. Another unit will go to a move waypoint and this should set off the syncronization for the other unit to move. I have tried and tried and tried but i cant get anything working, both units arent players and the one who has to wait just pegs it to the waypoint, meh can anyone help???
Title: Re:Syncro
Post by: macguba on 04 Mar 2005, 17:14:46
So you want loon1 to wait at waypoint A until loon2 has completed waypoint B?   If so, simply synchro the two waypoints.  

The critical point is that the synchroed waypoints are ones where you want the loons to wait.
Title: Re:Syncro
Post by: RujiK on 04 Mar 2005, 20:12:45
I never cared for syncing things very much, it seems to buggy.
A different way is use a condition in the waypoint, note that the condition will not stop the unit from going to that certain waypoint, but will actually keep him from finishing that waypoint, so you should put the condition in the waypoint before.

example

Code: [Select]
Condtion: !Eastdude alive
activation:hint"Get moving soldier! Your condition has been met!"
Title: Re:Syncro
Post by: macguba on 04 Mar 2005, 21:05:19
Really?   I used it a fair bit and never had any problems.    Apart from user error of course.   ;D
Title: Re:Syncro
Post by: Planck on 04 Mar 2005, 21:34:50
It works fine here too.


Planck