Page 1 of 1

[Condition] isEthnic

Posted: Sun Nov 21, 2021 2:09 am
by Raddeck
Actor.isEthnic(what)


USE:
Check if the actor belongs to a certain ethnic group.


PARAMETERS:
arab
asian
black
indian
latin
white


TYPE: Condition, Reference
RETURNS: bool
THEME: Actor
COMPARE: isRace


EXAMPLE:

Code: Select all

If Actor2.isEthnic(black) && Actor2.isMale()
    Actor2.blendPreset(strt_black_m)
Endif 

Or if Player is not white
!Player.isEthnic(white)