Warcraft III resources & community, 2003–2006 · archived

Order UNIT1 to attack units of TEAM2 then remove UNIT1.

2 posts
#1

Order UNIT1 to attack units of TEAM2 then remove UNIT1.

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.
#2
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...