Difference between revisions of "GetPerkFlag"

From GECK

(Created page with "{{Function |origin = JIP |summary = Returns whether or not the specified flag (determined by <i>flagID</i>) is set for the specified '''Perk'''. |name = GetPerkFlag |retur...")
 
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
   }}
 
   }}
 
==Perk Flag IDs==
 
==Perk Flag IDs==
<pre>0&#09Is Trait;
+
<pre>0&#09;Is Trait;
1&#09Is Playable;
+
1&#09;Is Playable;
 
2&#09;Is Hidden</pre>
 
2&#09;Is Hidden</pre>
 
  |example = set bIsFlagSet to GetPerkFlag BloodyMess 2
 
  |example = set bIsFlagSet to GetPerkFlag BloodyMess 2
Line 21: Line 21:
 
*[[SetPerkFlag]]
 
*[[SetPerkFlag]]
 
[[Category:Functions (JIP)]]
 
[[Category:Functions (JIP)]]
[[Category:Miscellaneous Functions (JIP)]]
+
[[Category:Perk Functions (JIP)]]

Latest revision as of 03:34, 29 March 2017

A function added by the JIP NVSE Plugin.

Description

Returns whether or not the specified flag (determined by flagID) is set for the specified Perk.

Syntax

(isFlagSet:0/1) GetPerkFlag perk:ref flagID:int

Perk Flag IDs

0	Is Trait;
1	Is Playable;
2	Is Hidden

Example

set bIsFlagSet to GetPerkFlag BloodyMess 2

See Also

Personal tools