goldenfiver 11 Posted September 7, 2017 I'm trying to sync a scripted trigger to a waypoint (both created via script) but having problems. Is this the proper way to do it? Trigger: ambush_civ = createTrigger ["EmptyDetector", [5828.9,4122.19,12.2957]]; ambush_civ setTriggerArea [96.630, 81.986, 0, false, 5]; ambush_civ setTriggerActivation ["WEST", "PRESENT", false]; ambush_civ setTriggerType "SWITCH"; ambush_civ setTriggerStatements ["this", "", ""]; ambush_civ setTriggerTimeout [20, 20, 20, false]; Waypoint: _hold_waypoint = _newGroup addWaypoint [[6125.56,4188.6,0], 0]; _hold_waypoint setWaypointType 'HOLD'; _hold_waypoint setWaypointSpeed "LIMITED"; Sync command: ambush_civ synchronizeTrigger [_hold_waypoint]; Since Eden was introduced, you don't sync waypoint to triggers anymore and use 'set waypoint activation' instead. I'm wondering if those commands still work the way they should, or is it just my mistake. Any help would be appreciated. ' Share this post Link to post Share on other sites
f2k sel 164 Posted September 7, 2017 It works fine what's the issue? I get this assuming _newGroup has been defined 1. AI moves to the 'HOLD' waypoint until West leave the trigger 2. 'HOLD' waypoint is released 3. nothing actually happens though as you don't have anything after the 'HOLD' waypoint. Share this post Link to post Share on other sites
goldenfiver 11 Posted September 7, 2017 _newGroup is defined. The AI unit won't switch to the next waypoint after the trigger is activated. Share this post Link to post Share on other sites
scottb613 263 Posted September 7, 2017 Hi Folks, Working on something similar - what if you just deleted the HOLD waypoint - would it then proceed to the next waypoint ? Regards, Scott Share this post Link to post Share on other sites
f2k sel 164 Posted September 7, 2017 9 minutes ago, scottb613 said: Hi Folks, Working on something similar - what if you just deleted the HOLD waypoint - would it then proceed to the next waypoint ? Regards, Scott That does work and so does just using a MOVE WP in some instances. I'm not at the right PC now but I think this was the mission I made with some slight changes using logic as locations. https://www.sendspace.com/file/b663i8 Share this post Link to post Share on other sites
scottb613 263 Posted September 7, 2017 13 minutes ago, f2k sel said: That does work and so does just using a MOVE WP in some instances. I'm not at the right PC now but I think this was the mission I made with some slight changes using logic as locations. https://www.sendspace.com/file/b663i8 LOL - I'm not in front of my PC either - I'll take a look when I am... Regards, Scott Share this post Link to post Share on other sites