Description
Wiki Description
Obtains this actor's sex.
Documentation Comment
Returns this actor's sex. Values for sex are:
-1 - None
0 - Male
1 - Female
Caveats
CK Wiki - Notes
- To check for the sex of a Leveled Actor spawned in the world and not the Leveled Actor's ActorBase in the Editor, call this function on Actor.GetLeveledActorBase().
Examples
; Is the player male?
ActorBase PlayerBase = Game.GetPlayer().GetActorBase()
if (PlayerBase.GetSex() == 0)
Debug.Trace("Player is male")
endIfAuto-Generated Example
int returnedValue = myActorBase__toCallFunctionOn.GetSex()