Background for Fallout 4
Member of the RefCollectionAlias script
eventOnTrapHitStart(ObjectReferenceakSenderRef, ObjectReferenceakTarget, floatafXVel, floatafYVel, floatafZVel, floatafXPos, floatafYPos, floatafZPos, intaeMaterial, boolabInitialHit, intaeMotionType)

Description

Documentation Comment

Event recieved when this starts hitting a target


Parameters

  1. ObjectReferenceakSenderRef

  2. ObjectReferenceakTarget

  3. floatafXVel

  4. floatafYVel

  5. floatafZVel

  6. floatafXPos

  7. floatafYPos

  8. floatafZPos

  9. intaeMaterial

  10. boolabInitialHit

  11. intaeMotionType


Examples

Auto-Generated Example

Scriptname MyCoolScript extends RefCollectionAlias

event OnTrapHitStart(ObjectReference akSenderRef, ObjectReference akTarget, float afXVel, float afYVel, float afZVel, float afXPos, float afYPos, float afZPos, int aeMaterial, bool abInitialHit, int aeMotionType)
    Debug.trace("Event received - OnTrapHitStart: akSenderRef = " + akSenderRef + " 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 Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.