https://community.bistudio.com/wiki/addWaypoint   Looking to change a mission from using predetermined waypoints for enemies to travel to upon your detection to repeatedly creating a seek and destroy waypoint at the activator of the detection trigger every ~30 seconds or so to keep them chasing you while you are detected. My set up is this:   Init on group leader of friendly squad: this setGroupid ["group1"] Trigger that detects enemy Init: this && isNil "myVariable" OnAct:  _wp = group1 addWaypoint [getposatl (thislist select 0), 0];  [group1, 0] setWaypointType "MOVE"; myVariable = true; OnDeAct: 0 = [] spawn {sleep 25; myVariable = nil}   Still pretty new to this so I don't fully understand all of it, I'm piecing it together from other examples I've seen xD