game crashes when i upgrade back to its previous unit

G

Gankme

Guest
hey im trying to make some gates and i have them as two different buildings and they upgrade back and forth between open and closed
now it works just fine when the closed gate upgrades into the opened gate but when i click to upgrade it back to the original the game crashes saying there was an access violation in memory how can i fix this and over come this is there any key points i need to address when upgrading to buildings back and forth between eachother?
 

WastedSavior

A day without sunshine is like, well, night.
Reaction score
217
instead of using upgrades, use a replacing trigger with 2 dummy abilitys

Event
a unit begins casting an ability
condition
ability equal to (open gate)
action
replace triggering unit with opened gate, using old units relative life and mana

(something along these lines)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top