Page MenuHomeFeedback Tracker

Dead body in vehicle detection problems after FFV
New, WishlistPublic

Description

Since introduction of FFV and some dead body in vehicle handling, it is now problematic to detect if given body is in vehicle. Before it was very straight forward

unit != vehicle unit - means unit is in vehicle dead or alive.

Now after about 30 seconds of unit being dead statistics about the unit get all messed up. Observe:

bob is alive and kicking driving his offroad

alive bob - true
group bob - C Alpha 1-1
crew car - [bob]
driver car - bob
assignedvehiclerole bob - ["driver"]
bob in car - true
bob in crew car - true
bob != vehicle bob - true

bob is shot dead

alive bob - false
group bob - C Alpha 1-1
crew car - [bob]
driver car - bob
assignedvehiclerole bob - ["driver"]
bob in car - true
bob in crew car - true
bob != vehicle bob - true

in about 30 seconds

alive bob - false
group bob - <NULL-group>
crew car - [bob]
driver car - bob
assignedvehiclerole bob - []
bob in car - false
bob in crew car - true
bob != vehicle bob - false

as you can see quite a mess after 30 seconds. Whats more, moveinany will not move player to driver even though driver is available via action menu. because the dead bob is maybe inside the car and maybe not. So player moveinany car puts player in the FFV position instead of driver. GetOut EH assigned to the cal will also not trigger when dead bob is thrown out after player used action menu to get to the driver seat.

This is major mess up and workarounds are complicated.

Details

Legacy ID
3018510451
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

spawn bob and car and execute bob moveindriver car in editor
run all test commands in description, kill bob, run all test commands in description, wait 30 seconds, run all test commands in descripttion

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 3018510451.May 7 2016, 8:11 PM