OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Captain Winters on 12 Jul 2003, 00:22:39

Title: Gettin teh height of a person... HELP!
Post by: Captain Winters on 12 Jul 2003, 00:22:39
How can I detect how high a person is. Then once the 'X' height is reach it stops detecting?

Tanks! 8)
Title: Re:Gettin teh height of a person...
Post by: Artak on 12 Jul 2003, 01:10:33
How about

_hi = getpos unitname select 2
?_hi > _x: hint "ok buddy you're outta here"
Title: Re:Gettin teh height of a person... HELP!
Post by: Captain Winters on 12 Jul 2003, 01:40:44
with everything filled in that doesnt work  :-\

Tanks! 8)
Title: Re:Gettin teh height of a person... HELP!
Post by: LCD on 12 Jul 2003, 02:24:30
in helo u meen right?

do it like dat condition field - or add ? or @ in scripts ;))

getpos heliname select 2 > num

(num is da high u want it 2 pass)

LCD OUT