• 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.

[JASS] Alliance System

Status
Not open for further replies.
Level 2
Joined
May 21, 2013
Messages
12
So I downloaded this system made by MapperMalte which is Alliance System but when I placed it in my map and then compiled/saved it, this error appeared
Code:
Line 2116: Undeclared variable Allies
which is this one here
JASS:
                                set Allies[i]=Allies[i] + 1
So I declared that variable by placing
JASS:
local integer array Allies
which it worked but ingame I tried the "-ally 2" or "-ally 3" a text appeared saying that "Error - You can't ally everybody" even though I have no allies and there more than 2 players which is the condition that you can't ally when there are only 2 players.

Can anyone point out the problem here? And I'm not really good with Jass by the way. I've red the comments section of his map but no one else encountered this problem
 
Status
Not open for further replies.
Top