• 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.

[Solved] Having trouble importing a spell

Status
Not open for further replies.
Level 1
Joined
Jul 4, 2011
Messages
5
please help me this is the problem when i try to copy spell i copy and past but one problem.. when i open my map and try to use any coded or programed spell... it doesn't work it show error why ???:ogre_rage::ogre_rage::ogre_rage:
 
Abilities have rawcode: ID and usually triggered spells (especially in Jass, vJass) refer to rawcode of given ability.
Even if you use GUI you have to make sure condition:
  • Conditions
    • (Ability being cast) Equal to 'ability'
- is made properly. Enter ability you want to be triggered via given trigger in field 'ability'.

If we are talking about Jass/vJass script, find function that is condition for checking if ability being cast has given rawcode. Fill that rawcode (it is placed in ' ') with rawcode of your ability that you want to be triggered. To get rawcode of ability in your object editor, simply select Abilities section in object editor and click Ctrl + D, rawcode will replace alibity's name on the filter to the right.
 
Status
Not open for further replies.
Top