• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Need Help

Status
Not open for further replies.
Level 5
Joined
Aug 3, 2007
Messages
146
:confused:How do you import a spells to a map? What is needed to do to make an imported spell work? I got these different spells but i dont know how to use it. PLSSS help!
 
Level 9
Joined
Mar 25, 2005
Messages
252
Most spells come with somekind of a readme that tells you how to make them work.
If the spell is in jass you usually have to copy the trigger that containts the spell and the ability in the object editor that triggers that spell into your map. After that you go to the object editor in your map, press ctrl+D and see whats the rawcode of that ability you imported (something like 'A000'), then you go to the trigger and see if there is a function that looks anything like this:
JASS:
function SpellRawcode takes nothing returns integer
    return 'A012'
endfunction
- then you just replace that integer ('A012' in this case) with the one of the ability.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
If the spell is approved, then it should be easy to import, if it is not easy to import then read the moderator's comments.
If the spell is new you can post asking for help to import, but he may not reply.
Try reading our many tutorials on the subject before asking any further.
If the spell is unapproved then we can not help you.
Try posting a link to the spell in question for third party support.
 
Status
Not open for further replies.
Top