Objective.isAttractor 182
Check if a Mission Objective will attract default AI to fight on the area for at least a faction, or optionally, for a specific one.
Return value
| Return Type | Description |
|---|---|
| bool | Usually this is always true, except for Scripted Mission Objective where the attractor functionality has been disabled |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | string | (Optional) Check if the effect is enabled for a specific faction. Leave empty or use Nil to check if it's valid for at least one faction. Default: Nil |
Examples
No examples available.
