[JASS] Jass Special Effects

Status
Not open for further replies.
Level 3
Joined
Dec 29, 2006
Messages
15

Ok i have a problem with my jass spell, im very new to it so please bear with me.
I'm trying to have an imported effect model instead of a model already in War3 but when i try to plug in something like war3mapImported\BoneSpirit.mdx into the code it just crashes the world editor.

JASS:
call AddSpecialEffectLocBJ( GetUnitLoc(GetSpellTargetUnit()), "Abilities\\Spells\\Items\\TomeOfRetraining\\TomeO fRetrainingCaster.mdl" )

This is how it is right now, and i cant get it to use imported models

call AddSpecialEffectLocBJ( GetUnitLoc(GetSpellTargetUnit()), "war3mapImported\BoneSpirit.mdx" )

This is how i want it to be. Thanks in advance:smile:
 
Just a note, (i know you just started JASS, but...) use cordinates instead of locations. And also destroy the effect:
call DestroyEffect(AddSpecialEffect("Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl", GetUnitX(GetSpellTargetUnit()), GetUnitY(GetSpellTargetUnit())))
 
Status
Not open for further replies.
Back
Top