Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
returning UnitPosMode
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: returning UnitPosMode (Read 900 times)
0 Members and 1 Guest are viewing this topic.
Terox
Former Staff
Follow the Sappers!
returning UnitPosMode
«
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
Logged
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123
Tyger
Former Staff
I was at OFPEC when it still had dirt floors...
Re:returning UnitPosMode
«
Reply #1 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.
Logged
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell
MSG Mike Everret - We Will Never Forget - '75-'08
Triggerhappy
Contributing Member
Llama, it's what's for dinner.
Re:returning UnitPosMode
«
Reply #2 on:
10 Oct 2005, 04:07:06 »
no
getpos won't help you, your getpos value wil be the same for all 3
Logged
Sliding plane crash script
Arrest script
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
returning UnitPosMode
Top of page