Trouble understand structs

Emu.Man00

New Member
Reaction score
41
So I have a function that runs every second after a unit starts channeling, and I need to reference the triggering unit inside this function. I also need to know when it stops casting, to stop the function from running.

To my understanding structs are the best way to do this, but I can't seem to understand how to use them at all...

All help is appreciated...
 

kingkingyyk3

Visitor (Welcome to the Jungle, Baby!)
Reaction score
216
It is no need struct... Struct is like a class, having students inside.. It is good for attaching since you just need integer to pass with. My method in channeling spell is constantly put GetUnitCurrentOrder block.
 
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