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>JOG
m
imported>Vswe
m (Added Search Terms)
 
(3 intermediate revisions by 3 users not shown)
Line 14: Line 14:
   
   
  If Player.GetIsSex Female
  If Player.GetIsSex Female
   Messagfe "Now, you're a cute one..."
   Message "Now, you're a cute one..."
  endif
  endif


Line 23: Line 23:


[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Actor State Functions]]
[[Category: Actor State Functions]]
[[Category: Actor State Functions (CS 1.0)]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]
[[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