hashtable - integer? why doesn't this work?

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
Code:
Hashtable - Save 3 as 0 of 2 in Team_units
Game - Display to (All players) the text: (String((Load 0 of 2 from Team_units)))

in my eyes this should tot display 3 but it displays 0.

what am i doing wrong?
 

jackall

You can change this now in User CP.
Reaction score
37
I did it like this and it displayed 3.
Maybe you didnt create the hash.
Trigger:
  • Hashtable - Create a hashtable
    • Set UnitHash = (Last created hashtable)
    • Hashtable - Save 3 as 0 of 2 in UnitHash


Trigger:
  • aaa
    • Events
      • Player - Player 1 (Red) types a chat message containing a as An exact match
    • Conditions
    • Actions
      • Game - Display to (All players) the text: (String((Load 0 of 2 from UnitHash)))
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
well it worked for me too when i tried it on a new map, but of some reason it wont work on my main map, lolz
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
You should use Key (String) instead of integers, to help you remember what refers to what.
 
General chit-chat
Help Users

      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