Difference between revisions of "HasPerk"
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: | ||
{{Function | |||
|origin = GECK1 | |||
|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. | |||
|referenceType = Actor | |||
|arguments = {{FunctionArgument | |||
|Name = BaseID | |||
|Type = string | |||
}} | |||
|example = player.HasPerk GunNut | |||
Returns | Returns whether or not the player has the "Gun Nut" perk. | ||
}} | |||
==See Also== | ==See Also== | ||
[[AddPerk]] | *[[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]] |