GetPCIsSex

From the Fallout3 GECK Wiki
Revision as of 15:43, 1 May 2012 by imported>B3w4r3
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

Link to TES4 Construction Set Wiki: GetPCIsSex.

A function included in the GECK version 1.1.0.36.

Description

Syntax

[help]
(0, 1:int) GetPCIsSex Sex{Male, Female}

Example

If GetPCIsSex Male
     ;execute code if the player is male
endif

If GetPCIsSex Female
     ;execute code if the player is female
endif

This will determine the gender of the player, and run code accordingly

Notes

None

See Also