hashtable question

Necrach

You can change this now in User CP.
Reaction score
62
I think I have misunderstood something very important here...

If I use this action
Code:
Hashtable - Save (Level of ABILITY for (Casting unit)) as (Key (Attacked unit)) of 2 in hashtable[2]

Should it not return the level of the ability as an integer if I do
Code:
Set INTEGER = (Load (Key (Attacked unit)) of 2 from hashtable[2])
 

Sevion

The DIY Ninja
Reaction score
413
Use Triggering Unit instead of Casting Unit. There is no Attacked Unit in any "Unit starts the effect of an ability" or any other casting events.
 

Necrach

You can change this now in User CP.
Reaction score
62
Yep that with Casting unit was just a mistyping when I copied an example here :p I found out the problem was not the hashtable after all. I think I have solved it!

Not on subject: Is it possible still to use GUI tags in this forum?
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top