[Condition] isAtHome

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 »

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
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