Perk fragment scripts extend Perk.
Perk fragments are run either when something is activated and all conditions are met (run immediately is checked); or when something is activated, all conditions are met, and the player picks the appropriate option in the popup menu (run immediately is not checked).
- akActor: This is the Actor that has the perk on him. With the current design, NPCs won't run activate entry point perk entries (which is where these fragments reside), so this will always be the player. It is still passed in case that design choice changes.
- akTargetRef: The ObjectReference that the actor above has activated.
- When a perk fragment script is first created, it isn't possible to add properties to it. You must first close the Perk dialog window and then reopen it before adding properties to the script.