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

how to import spells sum one?

Status
Not open for further replies.
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:
 
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.
Back
Top