Page MenuHomeFeedback Tracker

Creating 3 boxes causes them to burn.
Closed, ResolvedPublic


Manually creating 3 or more cargo boxes starts fire on all of them.


Legacy ID
Steps To Reproduce

Add the following script to a player init.

("B_supplyCrate_F" createVehicle (getPosATL player))
setPosATL [getPosATL player select 0, (getPosATL player select 1) + 5, getPosATL player select 2];

("B_supplyCrate_F" createVehicle(getPosATL player))
setPosATL [(getPosATL player select 0) + 2, (getPosATL player select 1) + 5, (getPosATL player select 2)];

("B_supplyCrate_F" createVehicle(getPosATL player))
setPosATL [(getPosATL player select 0) + 4, (getPosATL player select 1) + 5, (getPosATL player select 2)];

Event Timeline

kidmosey edited Steps To Reproduce. (Show Details)Mar 26 2013, 7:59 AM
kidmosey edited Additional Information. (Show Details)
kidmosey set Category to Scripting.
kidmosey set Reproducibility to Always.
kidmosey set Severity to Major.
kidmosey set Resolution to Fixed.
kidmosey set Legacy ID to 373120912.May 7 2016, 1:08 PM

I tried this on the dev build (0.53.103342), in the Stratis airfield, and I am not able to reproduce the issue.

However, I have experienced a similar situation when moving objects around as well.

The behavior I've have observed is that when setting the position of objects, if the final position is not exactly flush to the ground, then the objects take fall damage.

Since you are using setPosATL (above terrain level), and getting the Z axis from the player's position. It's probably safe to assume the player is standing on the ground, and force the Z axis to 0.

The thing that was confusing me is that I could load two crates just fine, but when I added the third, they all started to burn. I tried several crates and several positions.

I am currently unable to reproduce this issue, though. I restarted the application several times last night and it happened every time.

Well, at least it works, for now. If it happens again, I will see if I can figure out exactly why.

Should be fixed in current dev version. Could you please check it? Thanks