[Condition] isRace

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.isRace(what)


USE:
Check if the actor belongs to a certain race.


PARAMETER:
human, orc, elf, vampire


TYPE: Condition, Reference
RETURNS: bool
THEME:
COMPARE: getRace(), isCreatureType()


EXAMPLE:

Code: Select all

    If John.isRace(vampire)
        Player(Angry):: "Go away ya bloodsucker!"
    Endif
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