- Joined
- Sep 19, 2012
- Messages
- 204
Hey guys,
i am currently working on a group movement system for one of my maps and so far everything works fine...except one thing.
This is the first time im using hashtables as core of a system and i dont understand how to use them with Unit Groups.
I tried this:
And i tried this:
before you ask: yes i tried clearing the temp group of old units before using it again...wich led to no units being in the groups at all -.-
i hope i could clarify what the problem is...otherwise ill have to post my complete WIP triggers
greetings
CodeBlack
i am currently working on a group movement system for one of my maps and so far everything works fine...except one thing.
This is the first time im using hashtables as core of a system and i dont understand how to use them with Unit Groups.
I tried this:
-
Unit Group - Add (Last created unit) to (Load 9 of (Custom value of (Casting unit)) in Grp_UnitHashArray[(Player number of (Owner of (Casting unit)))])
And i tried this:
-
Actions
-
Unit Group - Add (Last created unit) to Grp_TempUnitGroup
-
Hashtable - Save Handle OfGrp_TempUnitGroup as 9 of (Custom value of (Casting unit)) in Grp_UnitHashArray[(Player number of (Owner of (Casting unit)))]
-
before you ask: yes i tried clearing the temp group of old units before using it again...wich led to no units being in the groups at all -.-
i hope i could clarify what the problem is...otherwise ill have to post my complete WIP triggers
greetings
CodeBlack