• 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] I need help with one Hashtable thing...

Status
Not open for further replies.
Level 5
Joined
May 27, 2008
Messages
62
Well, I am creating a spell and i need one VEEERY important part to trigger. Well, here is hashtable what i use
  • Hashtable - Save Handle Of(Last created unit) as (Integer A) of (Key (Triggering unit)) in AB_Hashtable
And becouse hashtables are new kind of trash, i dont know where to put them... Then i need one important information: How to use it in loops? Here is crappy test which i have tryed to make but it doesnt work.... (testing tho)
  • For each (Integer A) from 1 to 18, do (Actions)
    • Loop - Actions
      • Set AB_Point = (Position of (Load (Integer A) of (Key (Triggering unit)) in AB_Hashtable))
      • Unit - Create 1 Footman for Player 1 (Red) at AB_Point facing Default building facing degrees
And this belongs to another trigger.... I dont know what to do and cant find tutorials where some one could explain this :cry: :cry: :cry:
Could any one tell me how? Also it would be nice if someone could help me in MUI problems...
 
Last edited:
Status
Not open for further replies.
Top