Warcraft III resources & community, 2003–2006 · archived

Help whit JASS spells

3 posts
#1

Help whit JASS spells

I just discovered JASS spells a while ago and the spells are just amazing. I tried to COPY and PAST them but it d'ont work. Can someone here can be nice and tell me how to get spells to work out in my map on a different heros?
#2
When you copy and paste the spell(s), make sure that you copy everything from the map header as well as the triggers that make it run - do not rename the triggers.
Finally if the base spell has an ID different from the one used by the triggers, it should be replaced as well.
You can see the ID of your spell by pressing Ctrl+D in the Object Editor.
In Jass Scripts IDs are written between two single quotes ('). For example: 'AHbz' = Blizzard

I hope that helps you out.
#3
Well... you should also check for other IDs like units and items. That's usually the main unnoticed problem in copying JASS: IDs.