[Condition] isEthnic

Post Reply
User avatar
Raddeck
LP Manager
Reactions: 1
Posts: 508
Joined: Sat Oct 16, 2021 6:22 pm
Location: LpWorld
Contact:

Post 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)
Like my work? Buy me a coffee or support me on Patreon to keep it coming. :ugeek:
-Don't PM me for support-
Top
Post Reply