• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Variables in Hashtables

Status
Not open for further replies.
Level 7
Joined
May 11, 2010
Messages
278
  • Actions
    • Hashtable - Save Handle Of Location as Value of (Key whatisthevariableforthis) in HashTable
Yeah, what variable should i use? I want to be able to increase the variable with one every time i run the trigger, but i can't figure out what variable i should use.
 
I dont get what s your exact question but hashtables go like this.
You chose what to save from the falling menu. The first value is what you save. Ofc you can't Save unit as Player etc.
The second value represents X dimension of the hashtable and the third represent the Y dimension of the hashtable. (You cam imagin this as rolls and columns) (It might be the oposite The first is Y second is X but that doesn't change much)

For location it should go like

  • Hashtable - Save Handle Of SOMEPOINT as 25 of 45 in SOMEHASHTABLE
Where SOMEPOINT is Point variable
25 and 45 are just random imtegers I typed
SOMEHASHTABLE is the hashtable to which you want to save the point
 
Status
Not open for further replies.
Back
Top