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

computer attack problem

Status
Not open for further replies.
I have a problem because when he ship arrived in region of enemy he create the units and they attack who is attacked and after he die the units return where units before maked...why? example: O is ship (-) is where ship move x is unit maked (l) defensive enemy units

O-------X <-l after X kill l; X return where he maked before.

This is my simple trigger
  • download pirates
    • Events
      • Unit - A unit enters Region 008 <gen>
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Transport Ship
    • Stocks
      • Unit - Create Pirate Assault 3 for Player 8 (Rosa) at (Center of Region 007 <gen>) facing default orientation of the buildings degrees
      • Unit - Create 1 for player Pirate Sniper 8 (Rosa) at (Center of Region 007 <gen>) facing default orientation of the buildings degrees
      • Wait 4.00 seconds
      • Unit - Order (Entering unit) to Attack Statue 0179 <gen>
 
Level 9
Joined
May 27, 2006
Messages
498
Cause ure using Entering unit after a wait action. Any of event-responses (just like entering unit, attacked, etc) excluding Triggering unit are nulled after any wait action. So just use Triggering unit instead of Entering unit to make it work.
 
Status
Not open for further replies.
Top