on ouch
Jump to navigation
Jump to search
The ouch
script event is sent by the damage source to NPCs, props and the player. when the the entity is damaged and did not receive an ouch
event in the last 500 milliseconds. ^¶m1
will be set to the total damage received by the entity since the last ouch
event. This includes damage that was refuse
'd by the hit
event.
For NPCs, ^$param2
is set to "summoned" if the damage source was summoned by the player. In this case, the event ^sender
will be the player
and with Arx Libertatis 1.3 or newer the summoned entity responsible for the damage is passed in ^$param3
.