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

Description

Documentation Comment

Event recieved when this starts hitting a target


Parameters

ObjectReferenceakTarget

floatafXVel

floatafYVel

floatafZVel

floatafXPos

floatafYPos

floatafZPos

intaeMaterial

boolabInitialHit

intaeMotionType


Examples

Auto-Generated Example

Scriptname MyCoolScript extends ReferenceAlias

event OnTrapHitStart(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: 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.