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>Maturin
 
imported>JOG
Line 1: Line 1:
Returns 1 if the calling actor is of the specified sex (male/female).
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 GetIsSex Female
  Messagfe "Now, you're a cute one..."
endif
== See Also ==
[[GetPCIsSex]]


[[Category: Functions]]
[[Category: Functions]]
[[Category: Actor State Functions]]
[[Category: Actor State Functions]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]

Revision as of 08:50, 11 June 2006

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 GetIsSex Female
  Messagfe "Now, you're a cute one..."
endif


See Also

GetPCIsSex