OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: D_P_ on 18 Mar 2007, 00:50:40

Title: death by trigger
Post by: D_P_ on 18 Mar 2007, 00:50:40
okay this question seems simple but i'm having trouble....
How do I create a trigger, activated by any west units, that kills any west that enter into it?
silly, i know.
Title: Re: death by trigger
Post by: sharkattack on 18 Mar 2007, 00:59:58
set up youre trigger
west present (or whoever)

condition
this AND unitname in thisilst
on activation
unitname setdamage 1

unitname enters trigger  unitname dies
Title: Re: death by trigger
Post by: D_P_ on 18 Mar 2007, 01:55:23
is there a way to not have to name each west unit but still achieve the same result?
Title: Re: death by trigger
Post by: h- on 18 Mar 2007, 08:41:38
Easily.

Set up the trigger covering the desired area.
Activated by BLUFOR, repeatedly.

On Activation: {_x setDamage 1} forEach thislist
Title: Re: death by trigger
Post by: D_P_ on 18 Mar 2007, 08:46:32
:check: works perfect!
     thanks again~