Home - powerof3/PapyrusExtenderSSE GitHub Wiki
Welcome to the PapyrusExtenderSSE wiki!
This contains documentation for each function added by Papyrus Extender.
Usage
Version Checking
;(major,minor,patch / 6,0,0)
int[] Function GetPapyrusExtenderVersion() global native
Functions
Scriptname myScriptName extends ActiveMagicEffect
import PO3_SKSEFunctions
Event OnEffectStart(Actor akCaster, Actor akTarget)
if IsSoulTrapped(akTarget)
Debug.Notification("Target is soul trapped!")
endif
if PO3_SKSEFunctions.IsActorUnderwater(akCaster)
Debug.Notification("Caster is underwater!")
endif
endEvent
Events
Scriptname myScriptName extends ReferenceAlias
import PO3_Events_Alias
Actor Property Bob Auto
Event OnInit()
RegisterForHitEventEx(self, Bob, aiPowerFilter = 1)
endEvent
Event OnHitEx(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
Debug.Notification("Bob just hit me with a power attack!");
EndEvent