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

how to import spells sum one?

Status
Not open for further replies.
Level 6
Joined
Jul 25, 2005
Messages
221
To import spells from another map is quite easy, even easier if it isn't trigger based :)

Trigger based import: Open the map you wish to export the spell from, then open trigger editor. Copy the trigger of the spell you wish to export and open your map and then paste it in your trigger editor, and make sure you use the same variables as the map you exported it from or else it will give you errors.

Normal spell import: Open the map you wish to export a spell, and open object editor. Click the tab that says "Abilities", now simply copy the spell you wish to export and go back to your map and paste it, as simple as that :cute:
 
Level 6
Joined
Jul 25, 2005
Messages
221
if you dont know how to create variables, go to the variables tab via trigger editor (CTRL + b) and create the variables (using same variable types also) that are used within the trigger based spell you're trying to import.
Open the original map you're exporting the trigger from and open the variable table in that trigger editor, then select all variables and copy them, then paste them in your own trigger.

WARNING: if you're importing a JASS based spell and don't know how JASS works I suggest you read some of the tutorials on the forum.
 
Status
Not open for further replies.
Top