Mod:Creation Kit/ProcessTrapHit - ObjectReference

Mod:Creation Kit/Category:Scripting Mod:Creation Kit/Category:Papyrus Member of: Mod:Creation Kit/ObjectReference Script

Tells this reference to handle getting hit by a trap, dealing the specified amount of damage and possibly applying a pushback force.

Parameters

 * akTrap: Which trap reference just hit this reference.
 * afDamage: How much damage to deal to this reference.
 * afPushback: How far back to push this reference.
 * afXVel: The impact vector's X coordinate.
 * afYVel: The impact vector's Y coordinate.
 * afZVel: The impact vector's Z coordinate.
 * afXPos: The impact point's X coordinate.
 * afYPos: The impact point's Y coordinate.
 * afZPos: The impact point's Z coordinate.
 * aeMaterial: Opaque integer value denoting what material the trap is. (Usually received via an OnTrapHitStart event)
 * afStagger: How much to stagger the target, 0.0-1.0.

Return Value
None.