Difference between revisions of "HasPerk"

407 bytes added ,  14:29, 23 January 2015
made the difference explicit between the different uses
imported>Kkuhlmann
 
imported>DoctaSax
(made the difference explicit between the different uses)
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
'''Syntax:'''
{{Function
HasPerk PerkID
|origin = GECK1
'''Example:'''
|summary = If checked in a script, returns 1 if the actor has the specified perk and 0 if not. If checked in console, returns the perk rank.
HasPerk ChildAtHeart
|referenceType = Actor
|arguments = {{FunctionArgument
    |Name = BaseID
    |Type = string
  }}
|example = player.HasPerk GunNut


Returns 1 if the calling reference has the specified perk.
Returns whether or not the player has the "Gun Nut" perk.
}}


==See Also==  
==See Also==
[[AddPerk]]<br>
*[[AddPerk]]
[[RemovePerk]]  
*[[RemovePerk]]
*[[GetPerkRank]]


[[Category:Functions]]
 
[[Category:Functions (GECK 1.1)]]
[[Category: Functions]]
[[Category:Condition Functions]]
[[Category: Condition Functions]]
[[Category:Condition Functions (GECK 1.1)]]
[[Category:Player Functions]]
[[Category:Player Functions (GECK 1.1)]]
[[Category:Perk]]
Anonymous user