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...")
 
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

Revision as of 17:39, 20 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