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

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