1,482
edits
imported>Jlundin No edit summary |
m (Convert source tags to syntaxhighlight) |
||
| Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Event OnTrapHitStart(ObjectReference akTarget, float afXVel, float afYVel, float afZVel, float afXPos, float afYPos, \ | Event OnTrapHitStart(ObjectReference akTarget, float afXVel, float afYVel, float afZVel, float afXPos, float afYPos, \ | ||
float afZPos, int aeMaterial, bool abInitialHit, int aeMotionType) | float afZPos, int aeMaterial, bool abInitialHit, int aeMotionType) | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 26: | Line 26: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Event OnTrapHitStart(ObjectReference akTarget, float afXVel, float afYVel, float afZVel, float afXPos, float afYPos, \ | Event OnTrapHitStart(ObjectReference akTarget, float afXVel, float afYVel, float afZVel, float afXPos, float afYPos, \ | ||
float afZPos, int aeMaterial, bool abInitialHit, int aeMotionType) | float afZPos, int aeMaterial, bool abInitialHit, int aeMotionType) | ||
Debug.Trace("Ouch! We just started hitting " + akTarget) | Debug.Trace("Ouch! We just started hitting " + akTarget) | ||
endEvent | endEvent | ||
</ | </syntaxhighlight> | ||
== See Also == | == See Also == | ||