DrummerNL Posted March 19, 2018 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!
SUNTSAG Posted March 19, 2018 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]
DrummerNL Posted March 19, 2018 Author 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
SUNTSAG Posted March 19, 2018 Posted March 19, 2018 Pleasure, glad I could help :thumbup: Callsign: NAKED My YouTube Channel [sIGPIC][/sIGPIC]
Recommended Posts