You cannot delete the player's own body within a vehicle once the vehicle has been deleted but you can still access its the body's object. This puts multiplayer out of sync with variables/commands such as allDeadMen returning different values per client even when the object was modified by a command with a global effect such as deleteVehicle.
Description
Details
- Severity
- Major
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- General
-Start Arma 3
-Go to Editor
-Place a vehicle with yourself inside
-Run the scenario in mulitplayer
-Kill your player
-Delete the vehicle
-Try and delete the units in array allDeadMen or the old unit passed via the params of the event script "onPlayerRespawn.sqf"
You cannot delete the units but they are not null and you cannot see their bodies. This only seems to apply to the player's own body.
The ideal system would be that the vehicle cleanup manager dumps the bodies then deletes the vehicle if needed and the bodies get deleted within the corpse cleanup manager.
// Description.ext
respawn = BASE;
respawnDelay = 0;
respawnDialog = 0;
respawnButton = 1;
disabledAI = true;
joinUnassigned = 0;
respawnOnStart = -1;
Event Timeline
Even worse, this bug seems to only affect the player's own body and it puts allDeadMen out of sync because other players can see and delete the player's corpse.
https://imgur.com/a/N6DYqcu - One dead body inside blown up vehicle (allDeadMen synced)
https://imgur.com/a/SBVDeaq - Vehicle deleted and all players besides the body's owner can see the body (allDeadMen synced)
https://imgur.com/a/dYdm04f - Corpse is deleted by another player (allDeadMen out of sync)