• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] Same JESP scripts, but Compile Error ...WHY??

Status
Not open for further replies.
Level 3
Joined
Jan 18, 2005
Messages
15
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?
 
Level 3
Joined
Jan 18, 2005
Messages
15
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.
 
Status
Not open for further replies.
Top