- Joined
- Dec 6, 2009
- Messages
- 173
Hi! I uploaded a spell here on hive, but it did get rejected. Many complained becuse it wasn't MUI and that I had waits:/
Now I tried to make an easy trigger by my own for better knowing of Hashtabels. But I totaly failed. I don't know what I did wrong and I would like you guys that know how to make it work plz tell me^^
I alredy know that there is some tortorials and so but I don't get the whole thing, so thats why I tryied to do this.
The Trigger:

Now I tried to make an easy trigger by my own for better knowing of Hashtabels. But I totaly failed. I don't know what I did wrong and I would like you guys that know how to make it work plz tell me^^
I alredy know that there is some tortorials and so but I don't get the whole thing, so thats why I tryied to do this.

The Trigger:
-
Trigger0
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Hashtable - Create a hashtable
-
Countdown Timer - Start Timer as a One-shot timer that will expire in 5.00 seconds
-
Hashtable - Save Handle Of(Last started timer) as 0 of 5 in (Last created hashtable)
-
Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
-
Hashtable - Save Handle Of(Last created unit) as 0 of 0 in (Last created hashtable)
-
Special Effect - Create a special effect attached to the overhead of (Last created unit) using Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
-
Hashtable - Save 0.00 as (Key (Last created special effect)) of 1 in (Last created hashtable)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for Timer) Less than or equal to 0.00
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Key (Last created special effect)) is stored as a Handle of 3 in (Last created hashtable)) Equal to True
-
-
Then - Actions
-
Special Effect - Destroy (Last created special effect)
-
-
Else - Actions
-
Hashtable - Clear all child hashtables of child 0 in (Last created hashtable)
-
-
-
-
Else - Actions
-
-
-
