GetHairFlags
From GECK
A function added by the New Vegas Script Extender.
Contents
Description
Returns the flags of the specified hair form as a mask of the combined value of the bits (int).
Syntax
(int) GetHairFlags hair:BaseForm
Example
int FlagsMask set FlagsMask to GetHairFlags rHair if FlagsMask == (SetBit FlagsMask, 1) ; "not male" endif
Bits
- 1 (bit 0) = playable
- 2 (bit 1) = not male
- 4 (bit 2) = not female
- 8 (bit 3) = fixed color