Difference between revisions of "Perk Script"

790 bytes added ,  00:27, 30 October 2017
m
category
imported>Plplecuyer
 
imported>Qazaaq
m (category)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
'''Extends:''' [[Form Script]]
'''Extends:''' [[Form Script]]
<BR/>
'''Editor:''' [[Perk]]


Script for the manipulation of perk instances.
Script for the manipulation of perk instances.
Line 20: Line 18:
== 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 ==
Line 25: Line 45:
**Event called whenever an entry point on this perk is fired.
**Event called whenever an entry point on this perk is fired.


== Related Fragments ==
== See Also ==
*[[Perk Fragments]]
*[[Perk Fragments]]
*[[:Category:Actor|Actor Category]]
[[Category:Papyrus]]
[[Category:Scripting]]
[[Category:Script Objects]]
[[Category:Actor]]
Anonymous user