Page MenuHomeFeedback Tracker

Change AGLS pos to AGL in BIS_fnc_moduleRespawnPosition and BIS_fnc_addRespawnPosition
New, NormalPublic

Description

The BIS_fnc_moduleRespawnPosition uses the position command to get the position of the module object, which as we know is AGLS. 😬
This causes problem when you want to put a respawn position on buildings, carriers, etc. and the object ends up at the terrain/water level.
Please change it to AGL.

Line 49:

_pos = position _logic;

Change to:

_pos = ASLtoAGL getPosWorld _logic

Edit: BIS_fnc_addRespawnPosition does it too when passing object as respawn pos, but I didn't look too deep to find where it gets the pos.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

Leopard20 created this task.Jul 8 2022, 6:47 PM
Leopard20 renamed this task from Change AGLS pos to AGL in BIS_fnc_moduleRespawnPosition to Change AGLS pos to AGL in BIS_fnc_moduleRespawnPosition and BIS_fnc_addRespawnPosition.Jul 8 2022, 7:32 PM
Leopard20 updated the task description. (Show Details)
Leopard20 updated the task description. (Show Details)Jul 8 2022, 10:04 PM
Leopard20 updated the task description. (Show Details)