_pos1 = getPosASL _pos2
|Affected ArmA II version:||Please select...||First affected ArmA II version:|
|Reproduced by another DH user:||No||Single / Multi Player?:|
|I am using some Mods:||No||BIForumURL:|
|I am using:||NGUrl:|
|Reproducible for you:||No||WIKIurl:|
|Related to content of DLC:|
Allow normal positions also as parameter for getPosASL, so you dont need to create an object to get the ASL position of a non ASL position. Or create a new command for this purpose (getPosASLFromPos ?)
Updated by zGuba over 7 years ago
- Due date set to 09/24/2009
- Category set to Scripting: Problem
- Status changed from New to Assigned
- Affected ArmA II version changed from Please select... to 1.04 BETA
There already is such command in VBS2. Hope it could make it into A2.
Updated by zGuba about 7 years ago
- Due date changed from 09/24/2009 to 01/04/2010
- Affected ArmA II version changed from 1.04 BETA to 1.04.59026
- Reproduced by another DH user set to No
Updated by ruebe about 7 years ago
Yes, such a command is highly needed.
I mean, figure this: there are lots of commands (nearRoads, nearBuildings, ...), that require an object to be passed to it (to get a reference-position in 3d) OR a `position`. The latter option sounds nice, doesn't it? Well, no. Because such functions expect the passed position to be a 3d-position, obtained per getPosASL.. and of course, getPosASL needs an object to be passed to it, thus rendering the option to pass positions to such functions pretty much useless. You need an object as a reference to use these functions, no mather what and this needs to be addressed (at high priority IMHO).