eventOnPlayerFallLongDistance(floatafDamage)
Description
Wiki Description
Event send to the player he falls long distance and takes damage.
Documentation Comment
Received when player takes fall damage
Parameters
floatafDamage
CK Wiki Description
the damage the player got from falling
Examples
; Event is sent to the player
Event OnPlayerFallLongDistance(float afDamage)
Debug.Trace(afDamage+ " points of damage taken by the player during fall")
endEventAuto-Generated Example
Scriptname MyCoolScript extends Actor
event OnPlayerFallLongDistance(float afDamage)
Debug.trace("Event received - OnPlayerFallLongDistance: afDamage = " + afDamage)
endEvent