Background for Fallout 4
Member of the Actor script
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")
endEvent

Auto-Generated Example

Scriptname MyCoolScript extends Actor

event OnPlayerFallLongDistance(float afDamage)
    Debug.trace("Event received - OnPlayerFallLongDistance: afDamage = " + afDamage)
endEvent

Related Pages


Additional References

View this event’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.