ally path
Posted: Tue Jan 29, 2008 1:44 pm
i write a side in the lua
and add this
then i go into the zero edidor and make a ordinary path wich i name "ally_path1".In the ally path section of the cp it belongs to i write the name "ally_path1",too.
but unfortunately it doesn´t work...What tells the ally path wich team spawns at it?
Code: Select all
ReadDataFile("dc:SIDE\\emp.lvl",
"emp_hero_darthvader",
"emp_droid_probe")Code: Select all
SetTeamName(4, "locals")
AddUnitClass(4, "emp_hero_darthvader",1)
AddUnitClass(4, "emp_droid_probe",13)
SetUnitCount(4, 14)
SetTeamAsFriend(ATT,4)
SetTeamAsFriend(4,ATT)
SetTeamAsEnemy(DEF,4)
SetTeamAsEnemy(4,DEF)but unfortunately it doesn´t work...What tells the ally path wich team spawns at it?