OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Guru on 31 Oct 2002, 04:16:01

Title: need help with condition (height < 10) for a trigger
Post by: Guru on 31 Oct 2002, 04:16:01
trying to get enemy dude to fire at landing helicopter
as it is about to land.
so i need a condition for the height of heli
tried flyinheight and that i couldnt get to work at all
distance worked but doesnt take height into consideration
is there a method, or am i barking up a tree with no branches
:'(
Title: Re:need help with condition (height < 10) for a trigger
Post by: Tomb on 31 Oct 2002, 04:52:56
Well, if ya tell the d00d to hold his fire 'till the bird is at a certain height,
use this trigger, my friend   :) :


(getpos Bird1 select 2) <=21

this trigg would fire when the chopper reaches 21 mtr's or less!  :-*

Title: Re:need help with condition (height < 10) for a trigger
Post by: Guru on 31 Oct 2002, 08:35:25
great exactly what i was looking for  ;D
thx for the help tomb
how ever it wouldnt work till i added
the + sign (getpos mychopper select 2) <= + 21