Objective.isAttractor 126

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 TypeDescription
boolUsually this is always true, except for Scripted Mission Objective where the attractor functionality has been disabled

Parameters

ParameterTypeDescription
1string(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.


Back to Scripting API