- Found in:
- Vanilla
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