ScarDoc

Start typing to search the SCAR reference.

Function
AI

AI_RemoveAllEncounters

Clears goals on all encounters, then empties the encounter list. Can also issue a stop command to all units.

On this page
AI_RemoveAllEncounters(stopAll, arg2)

Description

Clears goals on all encounters, then empties the encounter list. Can also issue a stop command to all units.

Parameters

  • stopAllBooleanrequired
  • arg2Unknownrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/aimanager/ai.scar