Condition_IsElectricityCutoffSite
Description
Checks whether electricity has been cut off at the site where the BaseObject is currently located.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The actor whose located site is checked for electricity cutoff (Self/Target). |
| CompareType | Type of comparison operation (Equal or NotEqual). |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Checks if Self's located site has electricity cut off | Self | IsElectricityCutoffSite | Equal |
| Checks if Target's located site does NOT have electricity cut off | Target | IsElectricityCutoffSite | NotEqual |
| Checks if Self's current site has lost power | Self | IsElectricityCutoffSite | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents