Page 1 of 1

[Condition] isRace

Posted: Sun Oct 31, 2021 7:23 pm
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