• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Map with 12 player v1.27b

Status
Not open for further replies.
Level 14
Joined
Oct 19, 2014
Messages
187
Everytime i play my map with max player the round 2 is not proceeding why? I set the winning round when one team got survived then next round but error
example:
Unit dies
JASS:
set tid=GetPlayerTeam(GetOwningPlayer(GetTriggerUnit()))
set Team[tid]=Team[tid]-1
set survivedteam=0
set winningteam=0
loop
    exitwhen i>11
    if Team[i]>0 then
        set survivedteam=survivedteam+1
        set winningteam=i
    endif
    set i=i+1
endloop
if survivedteam==1 then
    set TeamScore[winningteam]=TeamScore[winningteam]+1
    set Rounds=Rounds+1
    call Reset()
endif
Upon Resetting
JASS:
set i=0
loop
    exitwhen i>11
    set Team[i]=TeamMax[i]
    set i=i+1
endloop
I dont know if this part was wrong or my other system
 
Status
Not open for further replies.
Top