Background for Starfield
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

ObjectReferenceakSenderRef

ObjectReferenceakTarget

floatafXVel

floatafYVel

floatafZVel

floatafXPos

floatafYPos

floatafZPos

intaeMaterial

boolabInitialHit

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.