GetPCIsSex

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

Link to TES4 Construction Set Wiki: GetPCIsSex.

A function included in the GECK version 1.1.0.36.

Description

Syntax

(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