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

Need help with importing spells

Status
Not open for further replies.
Level 4
Joined
Feb 23, 2008
Messages
102
Hello, well yeah i need help importing these spells because i suck at importing spells.. soo if you have the free time to do it that would be great. my map will be in pastebin.
http://www.hiveworkshop.com/forums/s...D20&d=list --soul explode---

http://www.hiveworkshop.com/forums/s...D20&d=list ---test spell 1--- AND ---test spell 2---

http://www.hiveworkshop.com/forums/s...age=3---holy domination--

http://www.hiveworkshop.com/forums/s...26r=20---cut wave--

http://www.hiveworkshop.com/forums/spells-569/plasma-grenade-155193/?prev=r=20&page=3

http://www.hiveworkshop.com/forums/spells-569/electric-vortex-v0-1-a-139095/?prev=r=20&page=4

thank you.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Bumping is only allowed 48 hours after your post, you were 46.5 hours too early.

Anyway: you need to learn how to import spells yourself, it's really easy.

Step 1:

Make sure everything is set up correctly.
Open the world editor, go to File -> Preferences -> General and check the box that says "automatically create unknown variables while pasting trigger data".
In the same box, go to "Tets Map" and uncheck "Used fixed random seed" (it basically makes a random integer not random anymore).

You should also create the spell that you want to use of course...

Now open the map with the spells you wish to import.
Check if the map uses vJass or cJass (this is always mentioned in the thread where you got the map from), if it does: use JNGP to open the map.


Step 2:

Go to the object editor and copy all dummy units you see (not the caster, but the dummies...).
Copy those dummies in your map and save the map.

Re-open the spell map and put all triggers that are required for the spell inside the same category and copy that category.
If the spell uses JASS, copy that as well.
Open your map and paste the category inside the trigger editor, save your map.

Step 3:

Inside the trigger editor, there could be a few disabled triggers (because it can disable while pasting), enable them.
Set the condition to "ability being cast equal to [Your Ability]" and set all units to the correct values.
If the spell uses dummies, you should set "create unit" to that dummy of course.


Now you're done, yay...
This probably won't work for a few times, you need to understand the basics of triggering first.
 
Status
Not open for further replies.
Top