distance – Talk
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
-[[User:Joris|Joris]] 21:54, 17 December 2006 (CET) | -[[User:Joris|Joris]] 21:54, 17 December 2006 (CET) | ||
Cool, thanks! Included it. :) --[[User:Raedor|raedor]] 22:17, 17 December 2006 (CET) | |||
In OFP there's quite a big mistake with small distances (less 1m). Did anybody checked if it is fixed in arma ?--[[User:Bdfy|bdfy]] | |||
Arma2OA doesn't seem to support locations? But, "[[locationPosition]] location" works. [[User:Shuko|Shuko]] 19:00, 20 July 2010 (CEST) | |||
== position distance position == | |||
distance seems to consider only over the ground level positions (sadly). | |||
So, '''getPos player distance [getPos player select 0, (getPos player select 1)-100, getPos player select 2''']would return 100 only if player is over the sea and there is no land 100 South of him. |
Latest revision as of 18:00, 20 July 2010
Did you know that the distance function also works with position arrays? It even accepts an object and a position array combined.
-Joris 21:54, 17 December 2006 (CET)
Cool, thanks! Included it. :) --raedor 22:17, 17 December 2006 (CET)
In OFP there's quite a big mistake with small distances (less 1m). Did anybody checked if it is fixed in arma ?--bdfy
Arma2OA doesn't seem to support locations? But, "locationPosition location" works. Shuko 19:00, 20 July 2010 (CEST)
position distance position
distance seems to consider only over the ground level positions (sadly).
So, getPos player distance [getPos player select 0, (getPos player select 1)-100, getPos player select 2]would return 100 only if player is over the sea and there is no land 100 South of him.