• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Solved] Having trouble importing a spell

Status
Not open for further replies.

GhostTracker

G

GhostTracker

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.
Back
Top