DrummerNL Posted March 19, 2018 Share Posted March 19, 2018 Hey guys, I've been trying to set up a SAR mission where you have to find a ship in distress but I'm no good at scripting. Could someone explain to me how I can make a ship fire off a signal flare every few minutes until the player is close by? Thanks in advance! Link to comment Share on other sites More sharing options...
SUNTSAG Posted March 19, 2018 Share Posted March 19, 2018 Try this: TRIGGER 1 ONCE CONDITIONS TIME MORE (60) ACTIONS FLAG ON (1) TRIGGER 3 SWITCHED CONDITION CONDITIONS TIME SINCE FLAG(1, 60) ACTIONS SIGNAL FLARE ON UNIT (UNIT NAME & FLARE TYPE) FLAG ON (2) TRIGGER 3 SWITCHED CONDITION CONDITIONS TIME SINCE FLAG(2, 60) ACTIONS FLAG ON (1) FLAG OFF (2) Callsign: NAKED My YouTube Channel [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
DrummerNL Posted March 19, 2018 Author Share Posted March 19, 2018 (edited) Thanks Suntsag, I'll give that a try! EDIT: Works like a charm, thanks again. Edited March 19, 2018 by DrummerNL Link to comment Share on other sites More sharing options...
SUNTSAG Posted March 19, 2018 Share Posted March 19, 2018 Pleasure, glad I could help :thumbup: Callsign: NAKED My YouTube Channel [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Recommended Posts