Perk Fragments
Jump to navigation
Jump to search
Type[edit | edit source]
Perk fragment scripts extend Perk.
Run Time[edit | edit source]
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).
Special Variables[edit | edit source]
- 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.
Notes[edit | edit source]
- 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.