- Joined
- Jan 19, 2010
- Messages
- 381
Hello... PLS can you help me? What is bad on this script(isnt mooving caster)
HashTable Load
Link: https://www.hiveworkshop.com/forums/pastebin.php?id=9byfl9
HashTable Load
-
Charge HashTable
-

Události
-


Map initialization
-
-

PodmÃ*nky
-

Činnosti
-


-------- HashTable save --------
-


Hashtable - Create a hashtable
-


Set HashTable = (Last created hashtable)
-
-
-
Charge start
-

Události
-


Jednotka - A unit Schopnost zaÄÃ*ná úÄinkovat
-
-

PodmÃ*nky
-


(Ability being cast) Rovná se Charge!
-
-

Činnosti
-


Hashtable - Save Handle Of(Triggering unit) as 1 of (Key (Target unit of ability being cast)) in HashTable
-


-------- Caster save --------
-


Hashtable - Save Handle Of(Target unit of ability being cast) as 2 of (Key (Target unit of ability being cast)) in HashTable
-


-------- Target save --------
-


Hashtable - Save (Distance between (Position of (Load 1 of (Key (Target unit of ability being cast)) in HashTable)) and (Position of (Load 2 of (Key (Target unit of ability being cast)) in HashTable))) as 3 of (Key (Casting unit)) in HashTable
-


-------- Disrance save --------
-


Hashtable - Save (Angle from (Position of (Load 1 of (Key (Target unit of ability being cast)) in HashTable)) to (Position of (Load 2 of (Key (Target unit of ability being cast)) in HashTable))) as 4 of (Key (Target unit of ability being cast)) in HashTable
-


-------- Angle save --------
-


SpÃ*naÄ - Turn on Charge loop <gen>
-
-
-
Charge loop
-

Události
-


Čas - Every 0.01 seconds of game time
-
-

PodmÃ*nky
-

Činnosti
-


Jednotka - Pozastaveno (Load 2 of (Key (Target unit of ability being cast)) in HashTable)
-


-------- Target block --------
-


Jednotka - Turn collision for (Load 1 of (Key (Target unit of ability being cast)) in HashTable) Vypnout
-


-------- Caster collision off --------
-


Jednotka - Move (Load 1 of (Key (Target unit of ability being cast)) in HashTable) instantly to ((Position of (Load 1 of (Key (Target unit of ability being cast)) in HashTable)) offset by ((Load 3 of (Key (Target unit of ability being cast)) from HashTable) x 0.01) towards (Load 4 of (Key (Target unit of ability being cast)) from HashTable) degrees), facing (Position of (Load 2 of (Key (Target unit of ability being cast)) in HashTable))
-


-------- Caster move to target --------
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



Jestliže - podmÃ*nky
-




(Distance between (Position of (Load 1 of (Key (Target unit of ability being cast)) in HashTable)) and (Position of (Load 2 of (Key (Target unit of ability being cast)) in HashTable))) MenÅ¡Ã* nebo rovno 50.00
-
-



Potom - akce
-




Animace - Play (Load 1 of (Key (Target unit of ability being cast)) in HashTable)'s attack 2 animation
-




-------- Caster animation --------
-




Jednotka - Cause (Load 1 of (Key (Target unit of ability being cast)) in HashTable) to damage (Load 2 of (Key (Target unit of ability being cast)) in HashTable), dealing 300.00 damage of attack type Hrdina and damage type Blesk
-




-------- Caster demaging target --------
-




Jednotka - Nepozastaveno (Load 2 of (Key (Target unit of ability being cast)) in HashTable)
-




-------- Target block --------
-




Jednotka - Turn collision for (Load 1 of (Key (Target unit of ability being cast)) in HashTable) Zapnout
-




-------- Caster Collision on --------
-




SpÃ*naÄ - Turn off (This trigger)
-




-------- End of spell --------
-
-



Jinak - akce
-




Animace - Play (Load 1 of (Key (Target point of ability being cast)) in HashTable)'s ready animation
-




-------- Caster animation --------
-
-
-
-
Link: https://www.hiveworkshop.com/forums/pastebin.php?id=9byfl9




