Replacing gold mines

Steamsteam

New Member
Reaction score
1
hey - this is my trigger:

Code:
event:
unit gold mine 0101 dies
action:
wait 5 seconds
unit - replace (triggering unit) with goldmine using the old units relitive life and mana

unfortunitly it repsawns the mine which has no gold in it (i am asuming..)

so my question is:

1) how do make a trigger to respawn any gold mine where that gold mine had just blown up (in the same location) givin enough time has expired (hense the wait..) (if poisible to do to all mines with out individually selecting them and recreating 100 triggers -.-)

:D plz n thanks

ps: i tried
Code:
action:
create 1 gold mine for player nutrual passive at center of region goldmine

is it posible to do it any other way?
 

SpaceBar

New Member
Reaction score
16
Trigger:
  • Events
    • Unit - A unit dies
    • Conditions
    • (Unit-type of (dying unit)) equal to Gold Mine
    • Actions
    • Wait 2.00 seconds
    • Unit - Create 1 Gold Mine for Netural Passive at (Postion of (dying unit) facing (position of (triggering unit)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top