• 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] Problem With JASS Assistance System

Status
Not open for further replies.
Level 29
Joined
Jul 29, 2007
Messages
5,174
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
 
Level 12
Joined
May 7, 2008
Messages
346
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..
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
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.
Top