GetPCIsSex

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns the player's gender.

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

See Also