Difference between revisions of "Perk Script"
Jump to navigation
Jump to search
imported>Qazaaq |
imported>ShadeMe (Add missing F4SE member functions) |
||
Line 22: | Line 22: | ||
== Member Functions == | == Member Functions == | ||
None | None | ||
== F4SE Member Functions == | |||
*int Function [[GetLevel - Perk|GetLevel]]() | |||
**Returns the level requirement on this perk. | |||
*Perk Function [[GetNextPerk - Perk|GetNextPerk]]() | |||
**Returns the next perk on this perk's chain. | |||
*int Function [[GetNumRanks - Perk|GetNumRanks]]() | |||
**Returns the number of ranks this perk has. | |||
*string Function [[GetSWFPath - Perk|GetSWFPath]]() | |||
**Returns this perk's SWF path as a string. | |||
*bool Function [[IsEligible - Perk|IsEligible]](Actor akActor) | |||
**Returns true if the actor meets this perk's conditions.. | |||
*bool Function [[IsHidden - Perk|IsHidden]]() | |||
**Returns true if this perk is hidden. | |||
*bool Function [[IsPlayable - Perk|IsPlayable]]() | |||
**Returns true if this perk is playable. | |||
== Events == | == Events == |
Revision as of 01:01, 22 October 2017
Extends: Form Script
Editor: Perk
Script for the manipulation of perk instances.
Definition
ScriptName Perk extends Form Native Hidden
Properties
None
Global Functions
None
Member Functions
None
F4SE Member Functions
- 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
- Event OnEntryRun(int auiEntryID, ObjectReference akTarget, Actor akOwner)
- Event called whenever an entry point on this perk is fired.