• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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