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