colonelmolerat 1 Posted April 1, 2013 I have a mission in which a convoy is waiting until timeout 15 minutes to move. However, I want it to move earlier IF a unit somewhere else on the map reaches a waypoint. How can I do this? (If anybody wants to see the map, and my attempts so far, it's here: http://speedy.sh/nDkQB/mission.sqm ) Share this post Link to post Share on other sites
mikie boy 18 Posted April 1, 2013 basic concept... you c an use the waituntil command you will have to have the server run a timer script with the outcome being a global/public variable (depending on mp setup) - e.g TimerDone = 1; Then when the other waypoint is hi - have WaypoinReached = 1; the waituntil can be something like this waituntil {(TimerDone ==1) || (WaypointReached ==2)}; Share this post Link to post Share on other sites
cobra4v320 27 Posted April 1, 2013 Create a trigger and place it over the building the guy is retreating to. Group the trigger to guy retreating. Under the type column, make the trigger a switch then sync the trigger to the waypoint of the vehicles. ---------- Post added at 23:33 ---------- Previous post was at 22:59 ---------- Try this out. http://rapidshare.com/files/3812653426/Stratis%20Takeover.zip Not sure of why you had so many waypoints for the vehicles, just set them to safe or careless and they will follow the road. I also made it so your helicopter flight was more random. You will need to change the timing in the trigger near the trucks. Share this post Link to post Share on other sites
colonelmolerat 1 Posted April 1, 2013 (edited) Cool, thanks for your help you two! I've finally found another way to do it, too. Have the waypoint the unit has to reach have the text "radio = true" in the On Act. field. (Any text can replace 'radio') Then, have the waypoint where the convoy is waiting have a timeout counter and a trigger synced to it, with 'radio' in the condition field. That way, when the unit reaches the waypoint, 'radio' becomes true; when the condition 'radio' becomes true, the switch trigger switches the convoy's path to the next waypoint in sequence. So many ways to skin a cat! Edit: Bloody Hell, Cobra, that's MUCH neater!!! Edit again: I had considered making a trigger that detected Opfor presence in the building the person was running to, but felt there must be another way that I wanted to work out. Found it in the end. I've made those changes you did to the waypoints on my map, too - much nicer now and the vehicles get there faster. Edited April 2, 2013 by ColonelMolerat Share this post Link to post Share on other sites
cobra4v320 27 Posted April 2, 2013 There is always an easier way. Share this post Link to post Share on other sites
Jezuro 452 Posted April 2, 2013 Just so the info is complete, you can also use Logic units (Side > Game Logic > Game Logic). They have special waypoints: AND, OR. You can use the Synchronize tool with these for simple situations like this. Share this post Link to post Share on other sites
cobra4v320 27 Posted April 2, 2013 See I told you there was always an easier way :p Share this post Link to post Share on other sites