HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Searching for "Attack System" suggestions

03-11-2009, 01:00 PM#1
Michael Peppers
I'd wanna search for an "Attack System" that could do this:

"Is it possible to have a trigger event to act when a unit starts its "attack" animation? (not only when it targets a unit, but for every kind of target)"

Why?

GUI event "A unit is attacked" doesn't have Destructible and "land attack" (or whatever it's called) counterparts (and since it's a siege unit, a zone attack is mandatory).

The events like "Order Issued" work properly (obviously) only if an attack order has been issued so it doesn't work if:

1. This unit attacks another one automatically (solvable combined with "A unit is attacked")

2. The attack issued continues after the first missile (solvable with loop + check actions?)

(Maybe with a hell-lot of coding I can solve this, but who wants to do "a hell-lot of coding"?)

Thanks in advance!
03-11-2009, 01:17 PM#2
xombie
The event for "Unit issued attack order" would fire off when the player clicks 'Attack' and then targets the map, it does not detect when the unit starts playing its attack animation, and neither does "Unit is attacked". You'll probably want to be checking for multiple orders, either "attack" or "smart" (which is right-click).

I'm curious, have you stumbled across a Damage Detection system yet?
03-11-2009, 01:23 PM#3
Michael Peppers
Nope. Never used custom systems... (I didn't need them until now)

I looked at that system's description, but, as it says, shouldn't be all the spell damage triggered in order to make it work? (Mine is only partly, since it's intended to look like a normal attack)

I'm considering about looping the trigger until the attack is stopped, but maybe it has some side-effects I can't even imagine...
03-11-2009, 01:44 PM#4
xombie
Try this one.
03-11-2009, 01:51 PM#5
Michael Peppers
I'll do. + Rep, because you even searched for it (I should have used the search engine myself... now I feel embarassed... and also I feel like the laziest person in the world).

But maybe it won't be the solution, so... other suggestions are encouraged.
03-11-2009, 02:09 PM#6
xombie
I suppose you could wander over to my newly re-opened thread, The System Request Thread.