This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "GetIsSex"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Fella
imported>Vswe
m (Added Search Terms)
 
Line 29: Line 29:
[[Category: Condition Functions]]
[[Category: Condition Functions]]
[[Category: Condition Functions (CS 1.0)]]
[[Category: Condition Functions (CS 1.0)]]
<!-- Begin Search Terms
Get
Is
Sex
End Search Terms -->

Latest revision as of 10:00, 20 June 2008

Returns 1 if the calling actor is of the specified sex (male/female).


Syntax:

GetIsSex Male|Female


Examples:

If GetIsSex Male == 1
  Message "You're a Boy, George."
endif

If Player.GetIsSex Female
  Message "Now, you're a cute one..."
endif


See Also[edit | edit source]

GetPCIsSex