locals...
Posted: Wed Jan 02, 2008 8:57 am
Ok, for local units i have to add this to the lua:
SetTeamName(3, "locals")
AddUnitClass(3,"civ_inf_civillian",3)
SetUnitCount(3,3)
AddAIGoal(3, "Deathmatch", 3)
SetTeamAsFriend(DEF,3)
SetTeamAsFriend(3,DEF)
SetTeamAsEnemy(DEF,3)
SetTeamAsEnemy(3,DEF)
But i want that the unit...
...spawns at the cps of the republic.
...has an unitcount of 40 units.
...is only a friend of the republic.
How do i have to change the lua-add?
SetTeamName(3, "locals")
AddUnitClass(3,"civ_inf_civillian",3)
SetUnitCount(3,3)
AddAIGoal(3, "Deathmatch", 3)
SetTeamAsFriend(DEF,3)
SetTeamAsFriend(3,DEF)
SetTeamAsEnemy(DEF,3)
SetTeamAsEnemy(3,DEF)
But i want that the unit...
...spawns at the cps of the republic.
...has an unitcount of 40 units.
...is only a friend of the republic.
How do i have to change the lua-add?