2 units created with triggers

Level 12
Joined
Aug 3, 2021
Messages
436
Hi its Pekisa7. I have a problem. I created a unit called Ras Flesheater. I put the trigger create 1 Ras Flesheater but when i boot up the game two of them spawn instead of one. Can someone help with this. By the way I checked every single of my triggers for him in the trigger editor everything is alright. Here are the triggers:
  • Ras Flesheater Arrives
    • Events
      • Time - RasFlesheaterTimer expires
    • Conditions
    • Actions
      • Unit - Create 1 Ras the Flesheater (Necromancer) for Player 4 (Purple) at (Center of Rienforcmance <gen>) facing Default building facing degrees
      • Unit - Change color of RasFlesheater to Brown
      • Set RasFlesheater = (Last created unit)
      • Unit - Order RasFlesheater to Move To (Center of ReinforcmanceTo <gen>)
      • Wait 2.00 seconds
      • Trigger - Turn off Ras Flesheater Arrives <gen>
 
Delete the Wait, or use a One-shot Timer, and make sure you're only Starting the timer once.
I just saw it is a one shot timer
  • Setup Timer Ras Flesheater
    • Events
      • Unit - Stronghold 0436 <gen> Dies
    • Conditions
      • (Dying unit) Equal to Stronghold 0436 <gen>
      • (Owner of (Dying unit)) Equal to Player 6 (Orange)
    • Actions
      • -------- Ras Flesheater 5 min --------
      • Countdown Timer - Create a timer window for RasFlesheaterTimer with title Ras Flesheater arri...
      • Countdown Timer - Start RasFlesheaterTimer as a One-shot timer that will expire in 100.00 seconds
      • Countdown Timer - Destroy RasFlesheaterWindow
      • Set RasFlesheaterTimer = (Last started timer)
 
Back
Top