• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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