1,482
edits
(→Notes) |
m (Convert source tags to syntaxhighlight) |
||
| Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, \ | Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, \ | ||
bool abBashAttack, bool abHitBlocked) | bool abBashAttack, bool abHitBlocked) | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 22: | Line 22: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, \ | Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, \ | ||
bool abBashAttack, bool abHitBlocked) | bool abBashAttack, bool abHitBlocked) | ||
Debug.Trace("We were hit by " + akAggressor) | Debug.Trace("We were hit by " + akAggressor) | ||
EndEvent | EndEvent | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||