Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
ArmA - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
) »
May someone do a quick getPos test?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: May someone do a quick getPos test? (Read 1323 times)
0 Members and 1 Guest are viewing this topic.
Mandoble
Former Staff
May someone do a quick getPos test?
«
on:
09 Jul 2007, 11:33:12 »
Place a unit above the roof or in different floors of different buildings and for each one get:
Code:
[Select]
unitname distance (getPos unitname)
Logged
The Triple Blow
|
ArmA Videos
|
Mando Missile ArmA
h-
OFPEC Site
Administrator
Formerly HateR_Kint
Re: May someone do a quick getPos test?
«
Reply #1 on:
09 Jul 2007, 12:00:17 »
Eh...
So the distance gets bigger the higher you go in the building..
The change in getpos height is like 0.00000xxx meters, but the distance grows by meters between floors...
Do I smell getPosInBuilding function coming?
Logged
Project MCAR
---
Northern Fronts
---
Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.
Mandoble
Former Staff
Re: May someone do a quick getPos test?
«
Reply #2 on:
09 Jul 2007, 12:02:25 »
So, did distance between unit and its position increase?
EDIT: So it does. Quite interesting. That means the real height of a unit is its current height plus the distance between the unit and its position. May be this is the data LCD and Mr. Peanut were looking for
«
Last Edit: 09 Jul 2007, 12:30:20 by Mandoble
»
Logged
The Triple Blow
|
ArmA Videos
|
Mando Missile ArmA
LCD
Former Staff
Re: May someone do a quick getPos test?
«
Reply #3 on:
09 Jul 2007, 15:23:21 »
fuckin awesome mandoble
ill buy u a pint next time we meet
LCD OUT
Logged
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing -
O-Team Beta
Mandoble
Former Staff
Re: May someone do a quick getPos test?
«
Reply #4 on:
09 Jul 2007, 16:42:50 »
mmmmm
how about repeating the test, but this time getting:
unitname distance (unitname modelToWorld [0,0,0])
Logged
The Triple Blow
|
ArmA Videos
|
Mando Missile ArmA
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
ArmA - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
) »
May someone do a quick getPos test?
Top of page