Mod:Creation Kit/OnEntryRun - Perk

Member of: Mod:Creation Kit/Perk Script

Event called when a perk entry point is run.

Syntax
Event OnEntryRun(int auiEntryID, ObjectReference akTarget, Actor akOwner)

Parameters

 * auiEntryID: The ID of the entry point that was run
 * akTarget: The target of the perk entry point
 * akOwner: The perk owner

Examples
Event OnEntryRun(int auiEntryID, ObjectReference akTarget, Actor akOwner) Debug.Trace("This perk on " + akOwner + " ran entry " + auiEntryID + " on " + akTarget) endEvent