Page MenuHomeFeedback Tracker

Dead bodies become separate from their units
Closed, ResolvedPublic

Description

When a unit dies, unlike previous games, the dead body is no longer part of the unit, and thus setPos, deleteVehicle, etc. will have no visual effect on the dead unit.

Details

Legacy ID
3025733251
Severity
Feature
Resolution
Unable To Duplicate
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Create a new mission, create the following init.sqf and preview the mission. Then kill the unit spawned by the script, and notice how the dead body is not deleted.

sleep 1;
_unit = group player createUnit ["B_Soldier_F", getPos player, [], 0, "NONE"];
waitUntil { !alive _unit };
sleep 1;
deleteVehicle _unit;
hint "Dead unit deleted. (NOT)";

Event Timeline

MulleDK19 edited Steps To Reproduce. (Show Details)May 7 2013, 9:32 AM
MulleDK19 edited Additional Information. (Show Details)
MulleDK19 set Category to Scripting.
MulleDK19 set Reproducibility to Always.
MulleDK19 set Severity to Feature.
MulleDK19 set Resolution to Unable To Duplicate.
MulleDK19 set Legacy ID to 3025733251.May 7 2016, 2:00 PM

This issue was processed by our team and will be looked into. We thank you for your feedback.

Please keep the issue monitored to see when it is fixed.

Weird. I no longer seem to be able to reproduce it.

Unable to reproduce it either. Closing. Let us know if it happens again. Thanks