Page 1 of 1

[Condition] isAtHome

Posted: Sun Oct 31, 2021 1:33 am
by Raddeck
isAtHome()


USE:
Check if the player is at their own home. Frequently used to separate 'WHERE: home' cases of the player being at home and being at their significant other's home.


TYPE: Condition, non-Ref
RETURNS: bool
THEME: Location
COMPARE: moveTo


EXAMPLE:

Code: Select all

    WHERE: home
    ....
    
    If isAtHome()
        "Home sweet home"
    Else
        "I must be at my boyfriend's house."
    Endif