Condition_IsHomeSiteTag
Description
Checks whether the BaseObject's home site has a specific tag defined in DefaultInfo. The home site's tag list is looked up from the site data table using the character's home site ID.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose home site is checked (Self or Target). |
| CompareType | Type of comparison operation (Equal or NotEqual). |
| S1 | Tag name to search for in the home site's DefaultInfo tag list. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Checks if Self's home site has the StartTag_Park tag | Self | IsHomeSiteTag | Equal | StartTag_Park |
| Checks if Self's home site does NOT have StartTag_Park | Self | IsHomeSiteTag | NotEqual | StartTag_Park |
| Checks if Target's home site has the Beach tag | Target | IsHomeSiteTag | Equal | Beach |
Back to Command FinderSearch and filter all 491 Script Condition documents