• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

***++REp come2****

Status
Not open for further replies.
Level 9
Joined
Dec 15, 2009
Messages
523
hey guys!

im just asking is it posible to make a locust unit attack another locust unit?

Teach me please...if its in GUI


ANd 1 more how to change to heallth bar scale of a unit?i have a little gnoll unit but with very large healthbar.....please help
 
Level 9
Joined
Dec 15, 2009
Messages
523
in my diablo map,during the hero selection...there are two units fighting each other.so i dont want the units to be selectable or else the camera would be messed up..

how bout the healthbar scaling?where can i change it?
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
With this the units can't be selected, but they can be ordered to be attacked:

  • Untitled Trigger 063
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Set u1 = Paladin 0004 <gen>
      • Set u2 = Paladin 0020 <gen>
      • Custom script: call UnitAddAbility( udg_u1 , 'Aloc' )
      • Custom script: call UnitAddAbility( udg_u2 , 'Aloc' )
      • Custom script: call UnitRemoveAbility(udg_u1 , 'Aloc')
      • Custom script: call UnitRemoveAbility(udg_u2 , 'Aloc')
Test:
  • Untitled Trigger 075
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Unit - Order Paladin 0004 <gen> to Attack Once Paladin 0020 <gen>
      • Unit - Order Paladin 0020 <gen> to Attack Once Paladin 0004 <gen>
The units won't have collision I believe, so they might be quite close to each other.
 
Level 4
Joined
Jul 23, 2008
Messages
99
if it just for animation purposes, you just create a trigger with periodical time event and add to action, order the (locust) unit to play attack animation. Done.

If Im true, locust also almost "invulnerable", so even area damage won't affect them.
 

sentrywiz

S

sentrywiz

Just animate their attacks.
If they are both lets say, Footmen. They are standing next each other. Disable their attacks and via triggers order them to cast their attack animation.

They are both locusts. They don't have to kill each other. They just have to "con" the player that they are fighting.
 
Status
Not open for further replies.
Top