HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Jass Issues

12-07-2004, 07:38 PM#1
BuRnInSpartan
ok i try copy and pasting a jass script from one map to another and whenever i try to save it comes up with a bunch of errors... what do i do?
12-07-2004, 10:30 PM#2
a thing
Post the script and the errors.
12-07-2004, 10:59 PM#3
BuRnInSpartan
GetUnit(X)(u) GetUnit(Y)(u)
12-08-2004, 12:44 AM#4
Naakaloh
Quote:
Originally Posted by BuRnInSpartan
GetUnit(X)(u) GetUnit(Y)(u)

I believe the functions are GetUnitX() and GetUnitY() not GetUnit(X)() and GetUnit(Y)().
12-08-2004, 12:54 AM#5
BuRnInSpartan
the exact thing is

call ProjectileLaunchToUnitDamage(P, SpellEffectModelPath(LastBreath_SpellId(), EFFECT_TYPE_EFFECT), 522, 0.1, GetUnitX(u), GetUnitY(u), 10, k, 60, 0 )

call CasterCastAbility(P, LastBreath_DoomSpellId(), "doom", k, true )

call DamageUnit( P, LastBreath_Damage(l) , k )
12-08-2004, 02:16 AM#6
Naakaloh
Ok, thanks, it would also help if I knew what the errors are.
12-08-2004, 12:36 PM#7
xGT4x
These are Caster System functions of Lord Vexorian's map, the map you import it to must have the Caster system "installed"!
This means you need to have the system in the custom script section and the variables!
12-08-2004, 09:26 PM#8
BuRnInSpartan
lol i'm so stupid thank you so much!
12-16-2004, 08:21 PM#9
BuRnInSpartan
ok it's in everything saves fine but when my unit dies Last Breath Doom isn't inflicted on the killing unit... what's up? if you need more just ask specifically