Background for Skyrim SE
Member of the ReferenceAlias script
eventOnTrapHit(ObjectReferenceakTarget, floatafXVel, floatafYVel, floatafZVel, floatafXPos, floatafYPos, floatafZPos, intaeMaterial, boolabInitialHit, intaeMotionType)

Description

Documentation Comment

Event recieved when this reference hits a target


Parameters

  1. ObjectReferenceakTarget

  2. floatafXVel

  3. floatafYVel

  4. floatafZVel

  5. floatafXPos

  6. floatafYPos

  7. floatafZPos

  8. intaeMaterial

  9. boolabInitialHit

  10. intaeMotionType


Examples

Auto-Generated Example

Scriptname MyCoolScript extends ReferenceAlias

event OnTrapHit(ObjectReference akTarget, float afXVel, float afYVel, float afZVel, float afXPos, float afYPos, float afZPos, int aeMaterial, bool abInitialHit, int aeMotionType)
    Debug.trace("Event received - OnTrapHit: akTarget = " + akTarget + " afXVel = " + afXVel + " afYVel = " + afYVel + " afZVel = " + afZVel + " afXPos = " + afXPos + " afYPos = " + afYPos + " afZPos = " + afZPos + " aeMaterial = " + aeMaterial + " abInitialHit = " + abInitialHit + " aeMotionType = " + aeMotionType)
endEvent
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.