OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Terox on 10 Oct 2005, 01:48:27

Title: returning UnitPosMode
Post by: Terox on 10 Oct 2005, 01:48:27
Is there a way of returning whether a unit is
Prone
Stood up
or crouching

comref only shows a setunitpos not a getunitpos
Title: Re:returning UnitPosMode
Post by: Tyger on 10 Oct 2005, 03:39:27
I don't believe there is a command for it, but you can use a script to find the (_this select 2) value of the unit to figure out if they are standing, lying down, or crouch I believe.
Title: Re:returning UnitPosMode
Post by: Triggerhappy on 10 Oct 2005, 04:07:06
no
getpos won't help you, your getpos value wil be the same for all 3