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.
Description
Description
Details
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
Comment Actions
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.