[Condition] isWithCompanion
Posted: Sun Oct 31, 2021 7:48 pm
isWithCompanion()
USE:
Check if the player is currently hanging out with a companion.
TYPE: Condition, non-Ref
RETURNS: bool
THEME: Companions
COMPARE: getCompanion, startDate, endDate, "CurrentCompanion" global var
EXAMPLE:
USE:
Check if the player is currently hanging out with a companion.
TYPE: Condition, non-Ref
RETURNS: bool
THEME: Companions
COMPARE: getCompanion, startDate, endDate, "CurrentCompanion" global var
EXAMPLE:
Code: Select all
If isWithCompanion()
"I'm currently with <CurrentCompanion.name>."
Endif