OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Tim Pink on 18 May 2003, 12:59:28

Title: Killing a squad
Post by: Tim Pink on 18 May 2003, 12:59:28
Hi

how do u configure a trigger to kill a group of men when they exit the trigger
And how could i do it so instead of just dropping dead something believable happened like the place is mortared to death and results in your death

Thanx
Title: Re:Killing a squad
Post by: macguba on 18 May 2003, 18:41:24
Group the trigger to the group leader ... yes, as if the trigger was a unit.    Now you get new options in the On Activation box.    Select what you like, sounds like whole group not present in this case.    In the On activation box write

[] exec "myscript.sqs"

myscript being a script that does whatever you want to happen.   It could call in an arty strike on the group's position, or just setdammage 1 all the members, or whatever.  There are plenty of arty scripts in the Ed Depot.
Title: Re:Killing a squad
Post by: dmakatra on 18 May 2003, 19:20:02
Or, if ya dont wanna use some arty(and make a safe kill)u can just camcrate bombs at their location.