Condition_IsCurrentSiteHouseholdBiz
Description
Returns whether the Site where the given BaseObject is currently located is a HouseholdBiz Site. Even if the Site is designated as a business Site, it will be treated as NotEqual when no HouseholdBiz is linked to it.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character or object whose current located Site is checked. |
| CompareType | Equal: true if inside a HouseholdBiz Site. NotEqual: true if outside a HouseholdBiz Site. |
| S1 | Optional. Set to "IsOperating" to also require the Site to be currently operating; omit or leave empty otherwise. |
| S2 | Optional. Set to "Owned" to also require the BaseObject's household to be the manager of the HouseholdBiz. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self is currently inside a HouseholdBiz Site | Self | IsCurrentSiteHouseholdBiz | Equal |
| Check if Target is not inside any HouseholdBiz Site | Target | IsCurrentSiteHouseholdBiz | NotEqual |
| Check if Self is inside an operating HouseholdBiz Site | Self | IsCurrentSiteHouseholdBiz | Equal |
| Check if Self is inside own HouseholdBiz Site | Self | IsCurrentSiteHouseholdBiz | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents