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

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