Page 1 of 1

locals issue

Posted: Tue Jun 05, 2007 1:40 pm
by SBF_Dann_Boeing
i can't seem to get my team 3 to work, they don't spawn, they are friendlies to both teams and have this section in the lua:
SetTeamName (3, "gnomes")
AddUnitClass (3, "lsd_inf_gnome", 8)
SetUnitCount (3, 8)
SetTeamAsFriend(3,ATT)
SetTeamAsFriend(3,DEF)
SetTeamAsFriend(ATT,3)
SetTeamAsFriend(DEF,3)
My team 4, which is an enemy to both teams does work and spawn however. The unit used in team 3 also works as a playable unit. In Zeroedit, i have cp for team 3 and a spawn path "local" (the same spawn path used for my team 4's cp). I also tried giving the local spawn path as an allypath for a couple other cps.

EDIT: The smiley face is 8 )

Posted: Tue Jun 05, 2007 2:44 pm
by EGG_GUTS
1.Did you put this

SetTeamAsfriend(4,3)
SetTeamAsFriend(3,4)

2. I would change team 3 spawn name to local1 (well that's what I did)

3. Double check for a cp in ZE sometimes they don't work. (one time I placed a local cp and saved and when I re-opened it it wasn't there)

If it still doesn't work then I don't know.

Posted: Tue Jun 05, 2007 4:48 pm
by SBF_Dann_Boeing
not workin

Posted: Tue Jun 05, 2007 5:46 pm
by Teancum
Add this right below ScriptPostLoad()

AddAIGoal(3, "Deathmatch", 100)