-
example
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
Actions
-
Hashtable - Save Handle Of(Position of (Dying unit)) as (Key test position1) of (Key test position2) in myhash
-
Hashtable - Save Handle Of((Load (Key test position1) of (Key test position2) in myhash) offset by 150.00 towards 360.00 degrees) as (Key angle test1) of (Key angle test2) in myhash
-
Unit - Create 1 Terran Marine for Player 1 (Red) at (Load (Key angle test1) of (Key angle test2) in myhash) facing Default building facing degrees
-
Custom script: call SetUnitX ( GetLastCreatedUnit(), GetLocationX(LoadLocationHandle(udg_myhash, StringHash("angle test1"), StringHash("angle test2"))) )
-
Custom script: call SetUnitY ( GetLastCreatedUnit(), GetLocationY(LoadLocationHandle(udg_myhash, StringHash("angle test1"), StringHash("angle test2"))) )
-
-------- ====================================== --------
-
Custom script: call RemoveLocation(LoadLocationHandle(udg_myhash, StringHash("angle test1"), StringHash("angle test2")))
-
Custom script: call RemoveLocation(LoadLocationHandle(udg_myhash, StringHash("test position1"), StringHash("test position2")))
-
-