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

Can't get a unit to have an attack.

Status
Not open for further replies.
Level 2
Joined
Nov 6, 2012
Messages
7
So basically, I have a unit based off of Wisp that's supposed to only attack when ordered to. Well, it half works, as it never attacks at all, and checking its status bar reveals that the attack I gave it isn't there.

Yes, I set Attacks Enabled to Attack 1 Only. Yes, I added all the attack properties to what I need them to be (with a Weapon Type of Artillery (Line)). Yes, even when I set Acquisition Range to an actual number and gave it the Attack ability. Nothing worked.

So are Wisps and those based off of them hardcoded to not be able to attack? I know it's not the fact that the Wisp has no attack animation; I've seen plenty of maps where the units had no attack animation, and even then there's no change when I change the model. It still doesn't attack, it still doesn't show any attack, and I have no idea what I'm missing.

So, does anyone have any ideas?
 
Level 2
Joined
Nov 6, 2012
Messages
7
I just did and tested it, and it still just sat there and did nothing at all. Even when attempting to manually attack with it, it lacks any sort of buttons (it can't move nor does it have any abilities, so all that should be there are attack and attack ground anyway) and only has its armor info on the status bar.

Other tests, like simply using another unit as a base and see if it happened for other weapon types resulted in the exact same thing. Messing with the attack point, backswing and cooldown seem to do nothing.

Does anyone know what's happening here? The other unit I based it on was the footman, and when I gave it the Wisp model it had no attacks; granted, I didn't test it before giving it the Wisp model, but when I changed it to something else it still couldn't attack.
 
Level 25
Joined
Jul 10, 2006
Messages
3,315
attachment.php


attachment.php



Double check your unit editor as per the screenies.

Are you sure you don't mean to ask about the wisps attack animation? Because in that case no, it doesn't have an attack animation.
 

Attachments

  • sdfdsfds.png
    sdfdsfds.png
    588.7 KB · Views: 1,011
  • od.jpg
    od.jpg
    125.4 KB · Views: 781
Level 2
Joined
Nov 6, 2012
Messages
7
Yn9Dt.jpg


ztvmn.png



Weapon Type set to missle simply to show it's not weirdness with its actual weapon type.

So yeah, unless I'm missing something stupid I don't see why it shouldn't be able to attack. It isn't supposed to move, if you're wondering about the lack of all the other buttons.

Also, what I'm trying to do (see: make a projectile that fires straight ahead and damages the first enemy it hits and then dies) is neither something Artillery (Line) nor Missile (Line) do, is it.
 
Level 25
Joined
Jul 10, 2006
Messages
3,315
Level 12
Joined
Sep 11, 2011
Messages
1,176
if you want them to deal only 5 damage (not more and not less). then set the
Base damage to 4
Damage Number of Dice to 1
Damage Sides per Die to 1

the calculation is like this :

(Base + Dice)....(Base + (Dice x Sides))

(4 + 1)....(4 + (1 x 1))
= 5...5 / 5 - 5 (the '-' is 'to' so the damage will be from 5 to 5)
 
Level 2
Joined
Nov 6, 2012
Messages
7
Well, that's certainly a silly requirement. I guess it makes sense and all, though, since how attack upgrades work by default.

On another note, the simple fireball spell seems exactly what I'm looking for. Thanks!
 
Status
Not open for further replies.
Top