OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: General on 07 Jul 2003, 21:48:51

Title: Flaretraps for n00bs
Post by: General on 07 Jul 2003, 21:48:51
As some of you know, I am a freshman when it comes to editing. Basically, i dont know shit.

Im making a nightmission and I want to litter a specific area of the mission with flare traps, i.e. triggers that set off a flare.

I saw something aobut flaretraps, but as i am so new at this, i cant make any sens of it... Was something about an officer teleporting in and shooting off a flare, then teleporting back...

I think you guys know what im after. Does any wise individual know how to do this in a n00bproof way?
Title: Re:Flaretraps for n00bs
Post by: peter on 07 Jul 2003, 21:59:31
u could use camcreate together with a trigger and a marker:

triggers on-activation-field:
flare1 = "Flare" camCreate [getmarkerpos "marker1" select 0, getmarkerpos "marker1" select 1, 120]

...would create a white flare at the position of a marker named "marker1", 120 is the height ...
Title: Re:Flaretraps for n00bs
Post by: Wolf on 07 Jul 2003, 22:57:38
You don't even need a marker.
Just name the trigger, with what you put in the setpos section. Marker1, then change the name for each trigger.