• 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.

[Trigger] How to Count Hashtables.

Status
Not open for further replies.
Level 20
Joined
Aug 13, 2013
Messages
1,696
I have a question. How to count hashtables if we can have only 141 hashtables, how to count it by saving and loading it or by creating it. I'll explain it coz I've been planning to create a Slash Pack and they are created in Hashtables.

How to count it, by creating it????????
  • Creating Hashtable
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • -------- We created hashtable so now the Hashtable is 1 out of 141 hashtables.?? --------
      • Hashtable - Create a hashtable
      • -------- 1 hashtable --------
      • Set S_Hashtable = (Last created hashtable)
      • -------- ------------------------- --------
      • -------- ------------------------- --------
      • -------- Is this the right of counting hashtable? --------
OR,

by saving and loading it????????
  • Saving Loading Hashtable
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • -------- OR, Saving and Loading hashtable????? Example below... --------
      • -------- Now we save it in hashtable so now the hashtable is 1 out of 141??? --------
      • Hashtable - Save 10.00 as 0 of (Key (Triggering unit)) in S_Hashtable
      • -------- Now we save it in hashtable so now the hashtable is 2 out of 141??? --------
      • Hashtable - Save 1 as (Key tempint) of (Key (Triggering unit)) in S_Hashtable
      • -------- ------------------------- --------
      • -------- ------------------------- --------
      • -------- ------------------------- --------
      • -------- Now we load it in hashtable so now the hashtable is 3 out of 141??? --------
      • Set TempInt = (Load (Key tempint) of (Key (Picked unit)) from S_Hashtable)
      • -------- ------------------------- --------
      • -------- ------------------------- --------
      • -------- Is this the right of counting hashtable? --------
Can someone help me with this?.
 
Level 20
Joined
Aug 13, 2013
Messages
1,696
Status
Not open for further replies.
Top