In-Game DefinitionsGlobalsScripting FunctionsEnemyAILogicSetAIOn this pageSetAI Function name in EnemyAILogic.lua Usage SetAI(newAIName, enemy, args) Parameters newAIName, enemy, args Returns nil|any