• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Help whit JASS spells

Status
Not open for further replies.
Level 2
Joined
Sep 3, 2004
Messages
12
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?
 
Level 3
Joined
Mar 27, 2004
Messages
70
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.
 
Status
Not open for further replies.
Top