is there any thing wrong with this trigger?

sunshinex3

You can change this now in User CP.
Reaction score
7
Trigger:
  • TimeOutDialog
    • Gold Mining
      • Events
        • Time - Every 20.00 seconds of game time
      • Conditions
      • Actions
        • Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
          • Loop - Actions
            • Unit Group - Pick every unit in (Units owned by (Picked player) of type Gold Mine) and do (Actions)
              • Loop - Actions
                • Player - Add 125 to (Owner of (Picked unit)) Current gold



just making sure no mem leaks, trying to figure out why game is crashing all the sudden.
 

sunshinex3

You can change this now in User CP.
Reaction score
7
hrm its actually this trigger

Trigger:
  • Temple Change in Onwnership
    • Events
      • Unit - Lever (temple) 0105 <gen> Dies
    • Conditions
    • Actions
      • Unit - Change ownership of Temple 0106 <gen> to (Owner of (Killing unit)) and Change color
      • Unit Group - Pick every unit in (Units of type dummy (sight)) and do (Unit - Change ownership of (Picked unit) to (Owner of (Killing unit)) and Retain color)
      • Wait 6.00 seconds
      • Unit - Order dummy (lever) 0107 <gen> to Human Paladin - Resurrection



Trigger:
  • lever revive for sure
    • Events
      • Time - Every 120.00 seconds of game time
    • Conditions
      • (Lever (temple) 0105 <gen> is dead) Equal to True
    • Actions
      • Unit - Order Lever (temple) 0105 <gen> to Human Paladin - Resurrection



Trigger:
  • lever revive for sure Trigger 2
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Lever (temple)
    • Actions
      • Hero - Instantly revive (Dying unit) at (Position of (Dying unit)), Hide revival graphics



Trigger:
  • auto cast temple
    • Events
      • Time - Every 10.00 seconds of game time
    • Conditions
      • ((Owner of Temple 0106 <gen>) Not equal to Neutral Passive) and ((Owner of Temple 0106 <gen>) Not equal to Neutral Hostile)
    • Actions
      • Unit - Order Temple 0106 <gen> to Human Priest - Inner Fire dummy (lever) 0107 <gen>



Trigger:
  • Gold and Lumber Temple
    • Events
      • Unit - Temple 0106 <gen> Begins casting an ability
    • Conditions
      • ((Owner of Temple 0106 <gen>) Not equal to Neutral Passive) and ((Owner of Temple 0106 <gen>) Not equal to Neutral Hostile)
    • Actions
      • Player - Add 10 to (Owner of (Triggering unit)) Current gold
      • Player - Add 10 to (Owner of (Triggering unit)) Current lumber


is their a memory leak in any of these or is does it have to do with the revive i will test out revive now
 
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