Struct Attachment Question

trb92

Throwing science at the wall to see what sticks
Reaction score
142
What would be the best method for attaching a struct to a unit? I normally use ABC for struct attachment, but it only works for timers, triggers, and dialogs. What system should I use for unit attaching?
 

SFilip

Gone but not forgotten
Reaction score
633
Custom Value.
 

trb92

Throwing science at the wall to see what sticks
Reaction score
142
Of course I overlook the simplest solution... I half-expected some replies of "It can't be done" or something, and I get told custom value... Guess I didn't think about the fact that a struct is an integer, thanks.
 

GoGo-Boy

You can change this now in User CP
Reaction score
40
Could someone tell me how I could access to the units attached structs after? If for example sth shall occur each time the unit attacks after it used a spell.
So I use the event EVENT_PLAYER_UNIT_SPELL_EFFECT and check whether the spell is the correct. But now how can I get the struct from the unit?
 
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