Difference between revisions of "GetPCIsSex"

456 bytes added ,  15:43, 1 May 2012
no edit summary
imported>Kkuhlmann
 
imported>B3w4r3
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetPCIsSex GetPCIsSex].
{{Function
|CSWikiPage = GetPCIsSex
|origin = GECK1
|summary =
|name = GetPCIsSex
 
|returnVal = 0, 1
|returnType = int
 
|arguments =
  {{FunctionArgument
  |Name = Sex
  |Value = Male, Female
  }}
|example = <pre>If GetPCIsSex Male
    ;execute code if the player is male
endif
 
If GetPCIsSex Female
    ;execute code if the player is female
endif</pre>
 
This will determine the gender of the player, and run code accordingly
}}
 
==Notes==
None
 
==See Also==
*[[GetIsSex]]
*[[SameSex]]


[[Category:Functions]]
[[Category:Functions]]
[[Category:Player_Functions]]
[[Category:Functions (GECK 1.1)]]
Anonymous user