awotter 0 Posted February 19, 2009 Reposting in here since no one replied in the other forum: I'm trying to add player slots to a side without increasing the number of AI units available to a commander and I'm not sure how to go about it in Warfare (WACO). I understand how to add the slots to the mission but I'm not sure where or how to exclude them when the mission checks if the slot is available as an AI team. I think the place to change it is Server/AI/Advanced/Advanced_UpdateSquad.sqs, but I'm not sure: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">;Last modified 4/6/8 ;Use on a group to give it AI control. ;Script usage: [GroupName,GroupSlot] Exec "UpdateIndependentAI.sqs" _team = _this Select 0 _respawnable = true _role = true _mission = -1 if (Count _this > 1) then {_respawnable = _this Select 1}; if (Count _this > 2) then {_mission = _this Select 2}; Goto "Init" #Update ~5 ;Do not proceed unless team is AI controlled. ; if (!(_team In eastAITeams) && !(_team In westAITeams)) then {Exit}; if (Call Compile Format["!(_team In %1AITeams) && !(_team In %1DefenseTeams)",_sideText]) then {Exit}; If this is correct how would I go about it? Share this post Link to post Share on other sites