- Joined
- May 1, 2008
- Messages
- 1,605
Moin moin =)
I have a little problem and a question to that. When a hero cast my spell, all nearby units
are picked up. So it can be just 1 or 1000 units. Now I need to store every picked unit into an array variable and I do this:
Now he say,expect size, so I have to add [value] behind it. The problem is now, I don't know
how many values I need at the end, so what can I type here?
Edit: The end value of the number of loops is a struct member called "iloop" (integer loop), but when I enter this between the [],
he gives me an error "Wrong [size] definition"
Greetings and Peace
Dr. Boom
I have a little problem and a question to that. When a hero cast my spell, all nearby units
are picked up. So it can be just 1 or 1000 units. Now I need to store every picked unit into an array variable and I do this:
JASS:
private struct ElementalSpin
unit array target
Now he say,expect size, so I have to add [value] behind it. The problem is now, I don't know
how many values I need at the end, so what can I type here?
Edit: The end value of the number of loops is a struct member called "iloop" (integer loop), but when I enter this between the [],
he gives me an error "Wrong [size] definition"
Greetings and Peace
Dr. Boom