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

[Trigger] Keyboard movement attacking system

Status
Not open for further replies.
Level 4
Joined
Oct 15, 2008
Messages
83
Yo , Im having a problem to get an attacking system to work with my keyboard walking system.

Im using this guy´s system btw :thumbs_up:

So my question is , how can i add attacks in this?


...PEACE!:xxd:
 
Last edited:
Level 6
Joined
Sep 13, 2008
Messages
261
Well...i want to add attacks to this system.
But i cant figure any way to add normal attacks/spells when using keyboard movement.:confused:

You could make an instant no target dummy spells for attack and or spells that gets the unit in area directly in front of caster and plays attack animation and plays sound and deals that unit damage. Would take a little bit to get all the bugs out but it wouldnt be too hard.

With enough work you could end up with a good system, but to keep people from clicking and ordering unit to move somewhere you would have to remove the move skill or set movement speed to 0 or something.
 
Last edited:
Level 6
Joined
Sep 13, 2008
Messages
261
In your attack trigger. Set Speed to 0 and wait .01 which would stop you I think, though I'm not watching the video again. Then Turn off Movement Trigger. Then Do attack/ability effects. Then Turn Movement trigger back on. This would have one bug that gave user the ability to move before it finished casting therebye canceling the animation themselves, but they would have to do it fast I'm supposing.

I'm told that you can't wait .o1 so you may have to enable a trigger that executes every .01 that then activates the actual attack trigger.
 
Last edited:
Status
Not open for further replies.
Top