Event Handlers – Arma 3 Talk
Jump to navigation
Jump to search
Dammaged
Appears to only trigger if the damage is greater than 0.5
Repro:
- Add to player init
player addEventHandler ["Dammaged", {
hint format ["Damage: %1", _this select 2];
}];
- Set elevation to 5 metres.
- Preview.
- Exit.
- Set elevation to 4.5 meters.
- Preview.
You may need to fiddle with those figures a bit, but it's a quick and dirty method to test.
Observe: Only damage above 0.5 is hinted.
Am I wrong, or should this be noted in the documentation?
Fred Gandt (talk) 06:54, 3 March 2014 (CET)
-- Yes, Dammaged EH is less sensitive than HandleDamage, not sure if there is a defined threshold.