Event Handlers – Arma 3 Talk
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) (Possible info missing from documentation - please verify.) |
Killzone Kid (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
[[User:Fred Gandt|Fred Gandt]] ([[User talk:Fred Gandt|talk]]) 06:54, 3 March 2014 (CET) | [[User:Fred Gandt|Fred Gandt]] ([[User talk: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. |
Revision as of 14:53, 3 March 2014
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.