HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Don't Understand.

11-28-2008, 03:44 AM#1
ShadowDestroyer
Hey Vex, I know I ask for a ton of help. That's primarily because I do not know JASS, but I do know GUI as well as some other actual programming languages. I have appreciated all the help thus far.

I sent you a private message in the past, by any chance did you figure out what is wrong with the code?

Thanks,
-Doug
12-01-2008, 08:37 PM#2
Vexorian
What was the message about?

It is about a couple of weeks before I get less busy and able to do a lot of things again.
12-05-2008, 01:32 AM#3
ShadowDestroyer
Upon saving my map, I am getting the following error inside of the "Slash" template. This is the exact error message I receive.

JASS:
function SlashTemplate_DoSpell takes player ow, unit t, integer s, integer l returns nothing
Syntax Error

Any ideas?

Thanks,
-SD
12-13-2008, 09:13 PM#4
ShadowDestroyer
Any help?
12-27-2008, 06:12 AM#5
ShadowDestroyer
What about now? :-P
04-04-2009, 10:28 AM#6
ShadowDestroyer
This spell factory/jass helper issue is still not resolved, please help me out!

Collapse JASS:
function SlashTemplate_DoSpell takes player ow, unit t, integer s, integer l returns nothing  //Syntax Error
 local integer ab=GetAbilityDataInt(s,l,"Spell")

    if (ab!=0) then
        call CasterCastAbilityEx(ow,GetUnitX(t),GetUnitY(t),GetAbilityDataReal(s,l,"SpellHeight"),ab,l,I2S(GetAbilityDataInt(s,l,"OrderId") ),t,GetAbilityDataReal(s,l,"RecDelay") )
    endif
endfunction