- Found in:
- PO3's PE
eventOnHitEx(ObjectReferenceakAggressor, FormakSource, ProjectileakProjectile, boolabPowerAttack, boolabSneakAttack, boolabBashAttack, boolabHitBlocked)
Description
GitHub Wiki Description (PO3's PE)
- Registers for hit events provided they match the filters (or not)
- See Fallout 4's RegisterForHitEvent for parameter definitions (Aliases are not allowed, only forms)
akAggressorFilteralso accepts race
Registration Control Functions
Parameters
ObjectReferenceakAggressor
FormakSource
ProjectileakProjectile
boolabPowerAttack
boolabSneakAttack
boolabBashAttack
boolabHitBlocked
Examples
Auto-Generated Example
Scriptname MyCoolScript extends PO3_Events_Alias
event OnHitEx(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
Debug.trace("Event received - OnHitEx: akAggressor = " + akAggressor + " akSource = " + akSource + " akProjectile = " + akProjectile + " abPowerAttack = " + abPowerAttack + " abSneakAttack = " + abSneakAttack + " abBashAttack = " + abBashAttack + " abHitBlocked = " + abHitBlocked)
endEventAdditional References
View this event on the GitHub Wiki for powerofthree's Papyrus Extender
