GetPerkFlag
From GECK
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