HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell compile error problem

03-20-2006, 07:20 PM#1
Jiminiyainoda
Ok, so im getting the same problem as what i got on my counter strike spell, the Expected '(' ... although iv counted the brackets and they work out fine...
Its a function that dosent like passing in stuff, so i dident, i did it the same way as blizz does.

Any help or suggestions?
Attached Files
File type: w3xHoly Lightning.w3x (59.6 KB)
03-20-2006, 07:24 PM#2
Blade.dk
Another time please show the code in your post using [jass] tags too.

Anyways, the error is this:

Collapse JASS:
Condition(HolyLightningConditions)

Replace it with the following and it works

Collapse JASS:
Condition(function HolyLightningConditions)
03-20-2006, 07:27 PM#3
Anitarf
Condition(function HolyLightningConditions)
03-20-2006, 07:28 PM#4
Jiminiyainoda
Ok, thx il go try it.. and theres stuff i dont need from main map bit... its for other spells which are not in that map lol.

Anyway thx for fast reply :)

EDIT: yea thx :) it works a charm, rep given.