• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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