• 🏆 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!

Order UNIT1 to attack units of TEAM2 then remove UNIT1.

Status
Not open for further replies.
Level 2
Joined
Jul 28, 2006
Messages
18
i got that idea to guided missile

--
a unit starts a CAST

conditon : ability = MISSILE

create 1 MISSILE_UNIT (a meele unit like peon) for neutral player

order unit to attack a random unit (only units from TEAM1) in range of (MISSILE_UNIT) 900
wait 8 seconds
remove MISSILE_UNIT from game

--

but how make it that the MISSILE_UNIT is waiting until it attacks an the trigger go on.

i want to create a unit which is only waiting for units of TEAM1 and it should try to attack them only for 6 or 8 seconds.

thx for help.
 
Level 2
Joined
May 2, 2005
Messages
20
Why would you create the Missile for a Neutral player? Wouldn't you want to create it for the owner of the casting unit? I don't understand what you want help with...
 
Status
Not open for further replies.
Top