Page MenuHomeFeedback Tracker

"Dammaged" events are fired multiple times for car headlights
Closed, ResolvedPublic

Description

As the title suggest, when the vehicle (car) has "Dammaged" event handler attached and you fire at the car headlights - you will get multiple (identical) events:

Offroad - 3 times!
Hunter - 2 times
Ifrit - 2 times
Quadbike - 1 time (working fine)

Details

Legacy ID
3145821432
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  1. In the editor add yourself and an empty vehicle (car).
  2. Put this line into vehicle init field:

this addEventHandler ["Dammaged", {
systemChat ("damaged (" + str(_this select 1) + "): " + str(_this select 2));
}];

  1. Go near the vehicle and fire at the headlights.

Event Timeline

simast edited Steps To Reproduce. (Show Details)May 26 2013, 9:00 AM
simast edited Additional Information. (Show Details)
simast set Category to Scripting.
simast set Reproducibility to Always.
simast set Severity to None.
simast set Resolution to Open.
simast set Legacy ID to 3145821432.May 7 2016, 2:17 PM
MadDogX added a subscriber: MadDogX.May 7 2016, 2:17 PM

Mass closing ancient tickets with no activity for > 12 months; assume fixed or too trivial.

If this issue is still relevant in current dev build, please re-post.