I'm having an issue with my level... it's very odd.
This is just a small excerpt from my whole script. When I spawn as a Friend, no Wookiees spawn. When I spawn as the Enemy, 3 Wookiees spawn every time.
Does the amount of reinforcements on the ally team have an impact on whether locals spawn? Friendly has 1 reinforcement point in the match. Its the only thing I can think of for this problem. I'm going to see what happens when I remove the SetTeamAsFriend and create separate cps for them.
Code Select
ReadDataFile("SIDE\\wok.lvl",
"wok_inf_basic");
-- Local Stats
SetTeamName(3, "locals")
SetTeamIcon(3, "all_icon")
AddUnitClass(3, "wok_inf_warrior", 3)
AddUnitClass(3, "wok_inf_mechanic", 5)
AddUnitClass(3, "wok_inf_rocketeer", 3)
SetUnitCount(3, 11)
SetTeamAsEnemy(3,ATT)
SetTeamAsFriend(3,DEF)
This is just a small excerpt from my whole script. When I spawn as a Friend, no Wookiees spawn. When I spawn as the Enemy, 3 Wookiees spawn every time.
Does the amount of reinforcements on the ally team have an impact on whether locals spawn? Friendly has 1 reinforcement point in the match. Its the only thing I can think of for this problem. I'm going to see what happens when I remove the SetTeamAsFriend and create separate cps for them.