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
| Parameter | Description |
|---|---|
| BaseObject | The character whose site time is checked (Self or Target). |
| CompareType | Equal: checks time spent at S1 site; NotEqual: checks time elapsed since leaving S1. |
| S1 | Site ID to compare (Site.Id). Use "Home" to refer to the character's home site. |
| F1 | Time threshold in hours (integer). |
Examples
| Description | BaseObject | Command | CompareType | S1 | F1 |
|---|---|---|---|---|---|
| Checks if Self has been at Home site for at least 2 hours | Self | ForTimeSite | Equal | Home | 2 |
| Checks if Self has been away from Home for at least 5 hours | Self | ForTimeSite | NotEqual | Home | 5 |
| Checks if Target has stayed at "Shop_A" for at least 1 hour | Target | ForTimeSite | Equal | Shop_A | 1 |
Back to Command FinderSearch and filter all 491 Script Condition documents