How tocan i make W,A,S,D movement trigger?

Status
Not open for further replies.
Level 12
Joined
Nov 20, 2007
Messages
660
For double attack make a spell based on Barrage with these settings :
10. Barrage

AbilityId : Aroc

The ability Barrage is ever used for Multishot abilities. It allows a unit to attack multiple units at the same time, instead of doing a multiple attack bounce.

And also, a hidden secret is inside this ability. Giving this ability multiple missile arts is very nice. Whenever the unit attacks with this ability, it will select a random art inside the list, and use it! And, it is for every attack!

Values required :
Damage per Target : Damage bonus of the ability, added to normal damage of the unit, and must be at least 1
Maximum Number of Targets : Amount of targets
Maximum Total Damage : Damage Dealt < Total damage
Area of Effect : Units are acquired if they are inside the area of effect.
Cooldown : Cooldown of the ability
Missile Art : Choose an art effect. Overrides the normal effect, and can be multiple.
Tutorial By Chocobo

About WASD, why don't you make it Left Arrow, Right Arrow etc ... ? if you really wanna use WASD you have to know Jass (i don't know it) and there are some functions or something like that.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
For a fluid WASD movement, you need to import a custom common.j (that means you add new functions to warcraft).
Unless you know JASS and are determined to use WASD movement, I suggest you use another method.

Arrow keys, for example.
You can do those pretty easily (with GUI).
And I've checked it: Azeroth Grand Prix uses arrow key movement, not WASD.
I know a map which uses WASD, but it doesn't work for me (because of the new functions probably).
 
Level 11
Joined
Aug 23, 2010
Messages
665
I've created something like this before, but its ZXCD movement, see if this is what you want...

did not test it though, but try it...
No offense...but it so hard to controll the unit -.-"

For a fluid WASD movement, you need to import a custom common.j (that means you add new functions to warcraft).
Unless you know JASS and are determined to use WASD movement, I suggest you use another method.

Arrow keys, for example.
You can do those pretty easily (with GUI).
And I've checked it: Azeroth Grand Prix uses arrow key movement, not WASD.
I know a map which uses WASD, but it doesn't work for me (because of the new functions probably).
Can you tell me how to make arrows movement?i've change my mind
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Can you tell me how to make arrows movement?i've change my mind
With pleasure ^^
But before that: note that barrage has a minimum of 3 targets, making it target only 2 units is impossible.

Okay, I'm extremely sorry, but I cannot explain how it works.
I've got to go RIGHT NOW (already over time, but I wanted to perfect this system for you).

I honestly believe it works pretty well, but that's for you to decide of course.
If you find any bugs or want to change anything, please say so.

Enjoy and... I'm off for a few hours.

Edit: some minor edits.
Fixed a small bug and removed the debug messages.
 

Attachments

  • Arrowkey Movement.w3x
    19.2 KB · Views: 155
Last edited:
its ZXCD movement

this is a rather bad idea because people with QWERTZ keyboards will have to break their fingers in order to play (Z and Y are swapped)
and you should also not use "B" because "[M]ove" is "ewegen" in german warcraft 3

@topic
use arrow keys
it's better in several ways and also it's a lot easier
or better don't use key movement at all because it has delay as soon as you use it online because wc3 is programmed like that
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
or better don't use key movement at all because it has delay as soon as you use it online because wc3 is programmed like that
For race-games, arrow key movement really improves the gameplay.

Either way, I found a small bug in my map so I edited my previous post.
(There was a - somewhere which had to be a +, wanted to be a little too fast I guess).
 
Status
Not open for further replies.
Top