Page 1 of 1

[Condition] isPlayer

Posted: Sun Oct 31, 2021 7:14 pm
by Raddeck
Actor.isPlayer()


USE:
Check if the actor is the player.


TYPE: Condition, Reference
RETURNS: bool
THEME: Identity
COMPARE: getID, isSameAs


EXAMPLE:

Code: Select all

    If John.isPlayer()
        "Should have just use the variable Player!"
    Endif