• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[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