[JASS] Problem With JASS Assistance System

Status
Not open for further replies.
You got this code without understanding how to use it? What's the point of that?

Anyway, I'm not going to download whatever that is, but you need to add (register) your units to it, so the main loop of it will consider them (I guess).
To register your unit you simply call that function with your unit.

It's all guesses as I'm not downloading that, but I'm usually good with guesses :P
 
Again you're not again helping me -_- Well you almost said what the upper guy told me ...you need to register your hero...Well I don't know,so I'm asking help,Isn't that obvious?

What should I put in AssistFunction(Here)?
I got 10 Heroes...All Warcraft 3 standards..
And I told you,can you give me example..
 
JASS:
local int i = 0
local unit array ar
local int number_of_heroes = some number

ar[0] = some unit
ar[1] = some other unit
// etc


loop
    exitwhen i > number_of_heroes
    call AssistanceSystem_Register(heroes[i])
    i = i + 1
endloop

I don't see what's the problem to understand that...
 
Status
Not open for further replies.
Back
Top