Skip to main content

Condition_ForTimeSite

Description

Checks whether the character has spent at least the specified time at the given site (Equal), or whether the specified time has elapsed since the character last left that site (NotEqual). Use "Home" for S1 to refer to the character's residential site.

Parameters

ParameterDescription
BaseObjectThe character whose site time is checked (Self or Target).
CompareTypeEqual: checks time spent at S1 site; NotEqual: checks time elapsed since leaving S1.
S1Site ID to compare (Site.Id). Use "Home" to refer to the character's home site.
F1Time threshold in hours (integer).

Examples

DescriptionBaseObjectCommandCompareTypeS1F1
Checks if Self has been at Home site for at least 2 hoursSelfForTimeSiteEqualHome2
Checks if Self has been away from Home for at least 5 hoursSelfForTimeSiteNotEqualHome5
Checks if Target has stayed at "Shop_A" for at least 1 hourTargetForTimeSiteEqualShop_A1