| 03-25-2006, 12:23 AM | #1 |
crashes when i save JASS:function TimedSFXU takes unit u, string body, real time, string sfx returns nothing local effect eff call AddSpecialEffectTargetUnitBJ( body, u, sfx ) set udg_SFX_Store[1] = GetLastCreatedEffectBJ() set eff = udg_SFX_Store[1] call PolledWait( time ) call DestroyEffect(eff) set eff = null endfunction JASS:call AddSpecialEffectTimed(u, "overhead", 5.0, "Abilities\\Spells\\Orc\SpiritLink\\SpiritLinkTarget.mdl") |
| 03-25-2006, 12:32 AM | #2 |
"Abilities\\Spells\\Orc\\SpiritLink\\SpiritLinkTarget.mdl" There was missing a \ after Orc. Also, the name of your function and the line where it calls it doesn't seem to be correct. |
| 03-25-2006, 12:32 AM | #3 | ||
Quote:
set udg_SFX_Store[1] = AddSpecialEffectTargetUnitBJ( body, u, sfx ) not sure about that thought and Quote:
your function is called TimedSFXU not AddSpecialEffectTimed |
