HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Passing arrays as function parameters

07-29-2002, 03:07 AM#1
Mr.123
This is a longshot as I don't think it is possible, but does anyone know the syntax for passing arrays as function parameters? Need the function declaration syntax. TIA.
07-29-2002, 03:49 AM#2
Karma Patrol
If only JASS script was coded like C++. Sorry, I dont know how to do that.

Forgot to mention, could you please check out my post on checking if a unit has a spell casted on them a few posts down?
07-29-2002, 04:48 AM#3
Mr.123
I've tried a bunch of different ways including the most obvious: function blah takes <type> array varname returns nothing. Didn't work.

Technetium: I really don't know how to determine if a buff still exists on an unit, but maybe someone on the forum does.