• 🏆 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] 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