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

Advanced Spell help

Status
Not open for further replies.
Level 6
Joined
Dec 13, 2007
Messages
213
After months of creating simple abilities for my maps, i've went into more complex abilities, the ones that do triggers, i feel im rdy for JASS. unfortunatly i dont know how to even start off. I have these great ideas for another map for 5 Bosses, im not sure if these spells are even possible though, before i describe them i wish to know where to learn Jass at.

I only describe these abilities so that you can judge wether or not there possible.

Boss 1: Goblin tank
I can handel his abilities.

Boss 2: Water elemental
1.) Use Crushing wave, who ever it hits is pushed back about 25 feet or so.

2.) A whirlpool of water appears around the caster draging everyone it catches into the caster for 1000 damage.

Boss 3: don't know yet

Boss 4: Blood Mage

can handel these

Boss 5: big blood elf swordsman

I can handel these

in truth I was surpised when typing this, I thought I was gonna put down around 9 abilities, but as I was typing them down I thought of stupid ways to acheive the same effects, not with the second boss.
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
1.) Use Crushing wave, who ever it hits is pushed back about 25 feet or so.
Well, what you would do is skip out Crushing Wave completely, and then;

-Create a unit that looks like Crushing Wave, with the Locust ability (so you can't select it)

-Constantly move it forwards by use of a periodic timer.

-Pick every nearby enemy, damage them, and push them back.

-Add them to a backup group to make sure they don't get hit twice by the same wave.

2.) A whirlpool of water appears around the caster draging everyone it catches into the caster for 1000 damage.
Again, apply a periodic timer and just have the units position be constantly changed.
 
Level 4
Joined
Dec 14, 2004
Messages
85
Here is a link on how to use handle vars and timers http://www.wc3jass.com/viewtopic.php?t=1999

I would just keep this tutorial for a reference for these spells because it will help you make the movement look smooth for your spells.

But if you're just learning JASS what you'll want to do(or how I made the leap) is start off with using custom script in GUI. What the custom script does is lets you write JASS code inside your GUI script

The first thing I learned in Custom Script(which means JASS) was loops, they
are pretty simple, and you can probably find a tutorial on them in any JASS tutorial that are probably on any major wc3 editing site.

here's the hive workshop one.
http://www.hiveworkshop.com/forums/showthread.php?t=40617

But the main thing in moving from GUI to JASS is try and do as much as you can in GUI and then do the convert to custom script action. That way you have some reference, and if you're confused about how it works, just look at the GUI form of it and compare it to the JASS form really, if you understand GUI then you can study the differences and find out how it works.
after you learn JASS the next step is going into vJass which using structs(that means its object oriented).

Oh yeah and for your spell, just have a normal crushing wave spell and when it hits a unit just move it back about 75 units. (You can do that by getting the angle between the caster and the target and moving the unit using move unit by polar offset.)
 
Status
Not open for further replies.
Top