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

A Complete Beginners Guide to Hashtables

Level 4
Joined
Nov 11, 2012
Messages
132
heya! i'm a noob out here. even though i'm not familar with hashtables, i understand some of the lines but i dont know how to make those by myself. Can you suggest me guys where to start in making GUIs?
 
I'm sorry to bother, but when I want to save "value" of "value" of "value" in "hashtable" and I have imported triggers, I see a function like (triggering unit) or (picked unit) that I cannot access when creating my table.

like save knockbackSpeed of (Key Speed) of (target unit of ability) of Knocktable.

for quite a while I was reading trying to learn/understand hashtables but everytime I tried to make one it didn't make any sense and only now that I noticed that I cannot find such functions, is it a bug related with JNGP editor or with patch 1.27a? (I Know 1.27b messes up the command card buttons)...
 
It's down to the logical frame for accessing them actually by using Key(unit). If it's a singular unit, just keep it in a variable, for multiple objects, it goes into the logic flow for the triggers you aim to create. You can refer to Spell Section, some users create spells with hashtables and you might want to take a look on how they did it.

Here's mine: Divine Judgement 1.2.1
 
Level 1
Joined
Feb 23, 2022
Messages
1
I may be wrong but it makes no sense to me that the "Tank Attack End" trigger turns off itself. Shouldn't it rather turns off "Tank Attack Loop" instead ?
It's been quite a long time I didnt do some WC3 GUI, did I miss something about that trigger ?
trigg.PNG
 
What MUI and THW mean?
PS Sorry I don't have lots of time to read big texts.
MUI = Multi-unit instanceable. Basically if your spell can be cast by two different units at the same time without issues, then it is "MUI". I have a visual example here if you want to know more:

THW = The Hive Workshop (this website)
 
Top