Background for Skyrim SE

Skyrim SE - powerofthree's Papyrus Extender

This source is a mod and will need to be downloaded & installed separately by users.

Download Locations

Scripts In This Source

Description from GitHub Wiki

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
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.