OnPlayerFallLongDistance - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

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

Syntax[edit | edit source]

Event OnPlayerFallLongDistance(float afDamage)

Parameters[edit | edit source]

  • afDamage: the damage the player got from falling

Examples[edit | edit source]

; 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[edit | edit source]