Difference between revisions of "GetPerkFlag"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Jazzisparis
(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...")
 
imported>Jazzisparis
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 16:39, 20 March 2017

< [[::Category:Functions|Category:Functions]]

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

[help]
(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