• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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:
 
Level 26
Joined
Mar 19, 2008
Messages
3,140
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