In-Game DefinitionsGlobalsScripting FunctionsEnemyAILogicRetreatOn this pageRetreat Function name in EnemyAILogic.lua Usage Retreat(enemy, aiData, retreatFromId) Parameters enemy, aiData, retreatFromId Returns nil