Hashtables

Expelliarmus

Where to change the sig?
Reaction score
48
Just wondering if you are able to actually retrieve data from a variable (particularly units) inside Hashtable - Get Handle ID. I'm new in using hashtables ... so either i'm just blind, or still inexperienced. Any ideas?


e.g.
Trigger:
  • Set x = (Load 0 of (Key (THIS UNIT VARIABLE)) from y)



Thanks :)
 

Sgqvur

FullOfUltimateTruthsAndEt ernalPrinciples, i.e shi
Reaction score
62
Is this what you mean?

Trigger:
  • init hashy
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Hashtable - Create a hashtable
      • Set hashy = (Last created hashtable)
      • Hashtable - Save Handle OfFootman 0001 <gen> as 0 of 0 in hashy


Trigger:
  • footy
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • //displays the current life of a preplaced footman stored in hashy
      • Game - Display to (All players) the text: (String((Life of (Load 0 of 0 in hashy))))
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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