Warcraft III resources & community, 2003–2006 · archived

Same JESP scripts, but Compile Error ...WHY??

4 posts
#1

Same JESP scripts, but Compile Error ...WHY??

I paste a JESP code inside my map.
I already copy the dummy object, abilities, buff n code insde
n i also set the raw object name for the spell code 2 new name. but it shows compile error with:

error: expected a name
local string tab = GetAttachmentTable ( t )

error: expected an expression
local unit d = GetACaster ( )

All these code running well in original map.
Why? I already follows all the instruction. Do i missed something?
#2
I had this with my map to once. I just removed the text (first copied) saved the map and then pasted it and saved again. it worked

but make a backup first
#3

cannot

I tried, it doesnt works....

May i know what the following used for?
local string tab = GetAttachmentTable ( t )
Error: expected a name

local unit d = GetACaster ( )
error: expected an expression
#4

Stupid Noob Question

I M StUPID Noob~!
I tried alot of times, after i read the caster system from vexorian, i realized tat i didn't copy the code from the Global Custom scripts.
2 days stucked for it~! GOSH~!1

I donno that map global area can input some JASS scripts......Damn~!#!!#%@^$^4..

Thanks again 4 help.