LifePlay-Revival/Docs/Modding/Condition_Functions/isAtHome.txt
DoctaSax 7fd1ff94e5 1.7
2018-07-26 21:33:38 +02:00

19 lines
No EOL
399 B
Text

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:
WHERE: home
....
If isAtHome()
"Home sweet home"
Else
"I must be at my boyfriend's house."
Endif