OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: goki on 28 Jan 2004, 15:30:47

Title: trigger checking if only a specific unit is in the covered area?
Post by: goki on 28 Jan 2004, 15:30:47
Hi ya,   (http://www.prz.tu-berlin.de/~alsch/image_archive/icons/person/oldguy_sm.gif)

you know when we make a trigger it essentially checks the units "in general". I mean it can check if "westerns" are in the covered area or it can check if "easterns" are in the covered area, etc..

but I really want to know if I can make a trigger that checks if merely a specific unit is in the covered area? of course with its name... can I do? how?

G.
Title: Re:trigger checking if only a specific unit is in the covered area?
Post by: macguba on 28 Jan 2004, 15:58:38
See my answer in your other thread.

If it doesn't answer the question, then make the trigger east detected by west (or whatever) and write something like this in the Condition line

loon1 in thislist

Syntax not guaranteed.
Title: Re:trigger checking if only a specific unit is in the covered area?
Post by: Oskar on 28 Jan 2004, 20:01:11
group the soldier with the trigger (F2) drag a line from the soldier to the trigger, that way.. when the soldier enters the trigger perimiter it will set off the trigger.. but you can edit the trigger to get it your way ofcourse..
Title: Re:trigger checking if only a specific unit is in the covered area?
Post by: goki on 29 Jan 2004, 16:49:22
hi ya!   (http://www.prz.tu-berlin.de/~alsch/image_archive/icons/person/oldguy_sm.gif)


thanks guys! you rock!(http://www.prz.tu-berlin.de/~alsch/image_archive/icons/smileys/smiley2.gif)


(http://www.prz.tu-berlin.de/~alsch/image_archive/icons/comic/calvin_and_hobbes.gif)

so long.

G.