OnPlayerFallLongDistance - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

Event send to the player he falls long distance and takes damage.

Syntax

Event OnPlayerFallLongDistance(float afDamage)

Parameters

  • afDamage: 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")
endEvent

See Also