Page MenuHomeFeedback Tracker

setPosATL causes object to disappear on Dev
Closed, ResolvedPublic

Description

The setPosATL command now causes objects to disappear!

Details

Legacy ID
2017664913
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Write this in the init. box of an invisible helipad:

Rubbish = "Land_Garbage_square3_F" createVehicle position this; deleteVehicle this; Rubbish setdir 220; this setPosATL [getPosATL this select 0, getPosATL this select 1, 1.025];

The object disappears!

Additional Information

This occurred with today's (09/09/2014) update. It's fine on Stable Branch.

Event Timeline

Bohemia edited Steps To Reproduce. (Show Details)Sep 9 2014, 6:56 PM
Bohemia edited Additional Information. (Show Details)
Bohemia set Category to Scripting.
Bohemia set Reproducibility to Always.
Bohemia set Severity to None.
Bohemia set Resolution to Fixed.
Bohemia set Legacy ID to 2017664913.May 7 2016, 7:24 PM
Bohemia added a subscriber: Dwarden.Sep 9 2014, 6:56 PM

Sorry - it appears I've made a duplicate of this post! If you use the setPosALT on the player - they get transported to this weird, under the sea place - really weird!

Bohemia added a subscriber: Bohemia.May 7 2016, 7:24 PM

Yeah - it's just made all the objects in my mission disappear.

getPos isn't working either.

Can't play any of my missions on Dev build - seems any command with the word 'Pos' in won't work.

Igi_PL added a subscriber: Igi_PL.May 7 2016, 7:24 PM

getPosATL Y and Z = 0

getPos is working for me in editor

Hey, it is working fine for me on 1.29.127090, can you please confirm?

related to #20681. setPosATL is fine, it is getPosATL that is broken