I coded revolutionary changes
also
-- AXIS NPCs [Olazaika-tier Coding]
function AIworks()
AXIS = World_GetPlayerAt(2)
Setup_SetPlayerTeam(AXIS, 1)
Setup_SetPlayerRace(AXIS, 1)
--pcall(function() AI_Enable(player, true) end)
--spawnPos = players[2].offmappos
--Player_SetPopCapOverride(player, 500, -1, -1)
--Player_SetResource(player, RT_Manpower, 10000)
--Player_SetResource(player, RT_Munition, 10000)
--Player_SetResource(player, RT_Fuel, 10000)
this, along with removing some lines in other parts of the scar code, makes it so AI functions properly.
giving it abilities is simple scar, and SetResource + SetPopCap is kind of useless? hope you can figure the rest out lmfao
EDIT : Only functions against axis AI at the moment. Can change with lots of extra abilities (suggesting 6-8 seperate call ins for each faction) and adding a World_GetPlayerCount() do local player = World_GetPlayerAt(i) function to determine faction/if AI, instead of forcing