Perk Fragments

From the CreationKit Wiki
Revision as of 14:40, 30 March 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Type

Perk fragment scripts extend Perk.

Run Time

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

  • 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.

See Also