The same variables

SaMmM

Member
Reaction score
4
If you don't include "Wait actions" in your trigger, then your global variables can be used in all gui triggers.
 

SaMmM

Member
Reaction score
4
I mean don't include wait actions as in, those triggers that uses:

Event: Unit starts the effect of an ability
set temp_Group = Units within 300 range of casting unit
wait 10s
Pick all units in temp_Group and kill units.

Doing the above example with global variables will cause overwriting and overlapping when the spell gets casted again, and the units that are killed will not be right.

However you can still use it if you don't need a MUI spell.

Solutions = arrays or locals.
 
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