Page MenuHomeFeedback Tracker

Dead units cannot be removed from helicopter
Feedback, WishlistPublic

Description

Neither

deadunit action ["eject", vehicle deadunit]

nor

moveout deadunit or deadunit action ["GetOut", vehicle deadunit]

works

Details

Legacy ID
2122826904
Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Scripting
Steps To Reproduce

spawn heli and ai named bob

bob moveinany heli;
bob setdamage 1;
bob action ["eject", heli]

doesnt work

moveout bob

doesnt work

bob action ["GetOut", heli]

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Scripting.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Open.
Killzone_Kid set Legacy ID to 2122826904.May 7 2016, 7:40 PM
Killzone_Kid edited a custom field.

A setPosATL (or setPosASL) with a postion outside the vehicle object should work for removing dead units from a vehicle.

Don't think dead units should be able to perform actions. But moveOut should work.

@caliban55 thanks for the tip, but as mulledk said, at least moveout should work.

there must be something that will make this work because having another unit enter will usually kick the unit out anyway.
Or is that a physx ragdoll effect that causes that to happen?
I see from a related-to fbt issue that it stops units entering also.

Azeh added a subscriber: Azeh.Jun 21 2021, 2:08 AM

Still an issue in multiplayer :)
2.04.147757

BIS_fnc_KK updated the task description. (Show Details)
BIS_fnc_KK edited Steps To Reproduce. (Show Details)
BIS_fnc_KK edited Additional Information. (Show Details)
BIS_fnc_KK set Operating System to Windows 7.
BIS_fnc_KK added a subscriber: DarkDruid.

@Azeh how are you removing them in multiplayer?

BIS_fnc_KK changed the task status from Assigned to Need More Info.Jun 21 2021, 1:18 PM
Azeh added a comment.Jun 21 2021, 1:25 PM

@BIS_fnc_KK moveOut. Same as in the repro steps. It works fine in singleplayer.

alt syntax
soldier moveOut vehicle
should remove dead bodies

Revision: 147802

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Jun 22 2021, 11:04 PM
BIS_fnc_KK changed the task status from Need More Info to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.