Condition_HasAnimalFoodInMyResidanceSite
Description
Checks whether the BaseObject character's home (residence) site has an object with the S1 object tag that still has food (above the first of its StateVariation Normal group levels). Objects without such levels always count as having food.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose home site is searched (Self or Target). |
| CompareType | Type of comparison operation (Equal or NotEqual). |
| S1 | Object tag of the food bowls, searched in the home site. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Checks if a food bowl at Self's home still has food | Self | HasAnimalFoodInMyResidanceSite | Equal | FoodBowl |
| Checks if every food bowl at Self's home is empty | Self | HasAnimalFoodInMyResidanceSite | NotEqual | FoodBowl |