Page MenuHomeFeedback Tracker

Killed/MPkilled eventhandler does not trigger when helicopter is sunk into water
Feedback, NormalPublic

Description

Killed/MPkilled eventhandler does not trigger when helicopter is sunk into water, despite alive script command returns false on the same vehicle.

Details

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

Put down a helicopter, add a killed EH on it. Fly it into water. The EH won't trigger.

Event Timeline

Gippo edited Steps To Reproduce. (Show Details)Nov 10 2015, 3:59 PM
Gippo set Category to Scripting.
Gippo set Reproducibility to Always.
Gippo set Severity to None.
Gippo set Resolution to Open.
Gippo set Legacy ID to 2127876393.May 8 2016, 1:04 PM
Gippo edited a custom field.

Cannot confirm. Vehicle is disabled, yes, but it is alive.

Gippo added a subscriber: Gippo.May 8 2016, 1:04 PM
Gippo added a comment.Nov 11 2015, 5:04 PM

@KK - Yup, my bad. Alive returns false on helicopters, but not on ground vehicles. Correcting the description.

edit: also on jets - edit2 : scratch that, killed EH works on jets

Gippo added a comment.Nov 11 2015, 5:17 PM

So yeah, alive still returns true on ground vehicles. Adding some context here:

I wanted to replace a continuous respawn loop with killed EH (performance ftw!), but I figured out that there is a problem when the vehicle gets into a water. At the moment I see no workaround here, as hit/hitpart/dammaged/handledamage don't return anything either when the vehicle gets destroyed/disabled in the water.

Unknown Object (User) added a subscriber: Unknown Object (User).May 8 2016, 1:04 PM
Unknown Object (User) added a comment.Dec 31 2015, 8:12 PM

/!\ Only the engine is destroyed in the water. The vehicle is still alive.

A workaround could be check the height for below 0 and briken engine. Happy New Year Gippo. A EUTW player.

Gippo added a comment.Jan 1 2016, 3:57 AM

@harmdhast: indeed, but check with a helicopter for example. It is totally destroyed (afaik), but no Killed EH is triggered. Bottom line is still, that the Killed EH is still not reliable on vehicles.

@TheMasterofBlubb: Well, sure, but that would need a loop, so why use the killed eventhandler at all. Ideally, you should be able to do this with only using killed EH.

@harmdhast: When you land a helicopter on water. The engine is broken by water and the helicopter is starting to fall under water. When it touchs the underwater ground, the heli is destroyed. But the EH isn't fired.

@Gippo - Could you replace in summary, description and Steps To Reproduce the word "vehicle" by "helicopter" to clarify the feedback ?

Updated the ticket.

Thank you for the Update @Gippo

BIS_fnc_KK raised the priority of this task from Wishlist to Normal.May 18 2020, 11:54 PM
BIS_fnc_KK set Operating System to Windows 7.

"Drowned" mission EH added in rev 150299

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Feb 8 2023, 1:08 AM
BIS_fnc_KK changed the task status from Acknowledged to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.
dedmen set Ref Ticket to AIII-54258.Mar 1 2023, 1:44 PM