Destroying Structs - Extenstions?

Tyrulan

Ultra Cool Member
Reaction score
37
If I have a base struct (seperate trigger), say myBase, inherited by a trigger with a struct say, myTrigger, when calling myTrigger.destroy() will it call the destroy in myBase?

If you need to see the code then... fine.
 

uberfoop

~=Admiral Stukov=~
Reaction score
177
If you ever need to know anything about how vJass syntax compiles, the best initial course of action is generally to extract the map code via either an mpq extractor or by opening the map in Jass Shop Pro or something similar.
 
Reaction score
341
If you ever need to know anything about how vJass syntax compiles, the best initial course of action is generally to extract the map code via either an mpq extractor or by opening the map in Jass Shop Pro or something similar.

Theres actually an easier way.

Just make a syntax error at the bottom of your script.
 

Tyrulan

Ultra Cool Member
Reaction score
37
Either way I've solved the problem.

If a class is inheriting another class, calling the initial .destroy() method will first destroy the inheriting class, then the inherited.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top