Perk Script

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Extends: Form Script
Editor: Perk

Script for the manipulation of perk instances.

Definition[edit | edit source]

ScriptName Perk extends Form Native Hidden

Properties[edit | edit source]

None

Global Functions[edit | edit source]

None

Member Functions[edit | edit source]

None

F4SE Member Functions[edit | edit source]

  • int Function GetLevel()
    • Returns the level requirement on this perk.
  • Perk Function GetNextPerk()
    • Returns the next perk on this perk's chain.
  • int Function GetNumRanks()
    • Returns the number of ranks this perk has.
  • string Function GetSWFPath()
    • Returns this perk's SWF path as a string.
  • bool Function IsEligible(Actor akActor)
    • Returns true if the actor meets this perk's conditions..
  • bool Function IsHidden()
    • Returns true if this perk is hidden.
  • bool Function IsPlayable()
    • Returns true if this perk is playable.

Events[edit | edit source]

  • Event OnEntryRun(int auiEntryID, ObjectReference akTarget, Actor akOwner)
    • Event called whenever an entry point on this perk is fired.

See Also[edit | edit source]