Page MenuHomeFeedback Tracker

BIS_fnc_missileLaunchPositionFix spawns and deletes GameLogic as a workaround for already implemented command
Feedback, NormalPublic

Description

BIS_fnc_missileLaunchPositionFix function contains next lines:

// Workaround for missing modelToWorldASL scripting command
_logic = "Logic" createVehicleLocal [0,0,0];
_logic attachTo [_vehicle,_localPosition];
_globalPosition = visiblePositionASL _logic;
deleteVehicle _logic;

But now there are modelToWorldVisualWorld and, i guess, modelToWorldWorld commands, that returns ASL position.
Looks like workaround may be removed now:

_globalPosition = _vehicle modelToWorldVisualWorld _localPosition;

Details

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

Event Timeline

10Dozen created this task.Sep 22 2021, 3:27 PM
Tenshi changed the task status from New to Reviewed.Dec 15 2021, 1:57 PM
Tenshi set Ref Ticket to Internal Ref.: AIII-54840.
Tenshi added a subscriber: Tenshi.

Thank you for reporting the tweak.
We will look into it.

Should be changed with the next data update

BIS_fnc_KK changed the task status from Reviewed to Feedback.Feb 1 2022, 11:03 AM