- Joined
- Mar 16, 2008
- Messages
- 1,010
I haven't been able to re-create this but some players have reported desync when multiple heroes are using this ability. Could the "Unit - Move ..." action cause a desync in a multiplayer situation? if this trigger is running multiple times? does this make sense?
www.hiveworkshop.com
-
Knockback Move
-

Events
-


Time - Every 0.02 seconds of game time
-
-

Conditions
-

Actions
-


For each (Integer kb) from 1 to KB_Max, do (Actions)
-



Loop - Actions
-




Set VariableSet point = (Position of KB_Unit[kb])
-




Set VariableSet point2 = (point offset by KB_Speed[kb] towards KB_Angle[kb] degrees.)
-




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





If - Conditions
-






Or - Any (Conditions) are true
-







Conditions
-








(Terrain pathing at point2 of type Walkability is off) Equal to True
-








KB_Dist[kb] Greater than or equal to KB_MaxDist[kb]
-
-
-
-





Then - Actions
-






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







If - Conditions
-








KB_Max Equal to 1
-
-







Then - Actions
-








Trigger - Turn off (This trigger)
-
-







Else - Actions
-








-------- Recycle index --------
-








Set VariableSet KB_Angle[kb] = KB_Angle[KB_Max]
-








Set VariableSet KB_Dist[kb] = KB_Dist[KB_Max]
-








Set VariableSet KB_MaxDist[kb] = KB_MaxDist[KB_Max]
-








Set VariableSet KB_Speed[kb] = KB_Speed[KB_Max]
-








Set VariableSet KB_Unit[kb] = KB_Unit[KB_Max]
-








Set VariableSet kb = (kb - 1)
-
-
-






Set VariableSet KB_Max = (KB_Max - 1)
-
-





Else - Actions
-






Unit - Move KB_Unit[kb] instantly to point2
-






Special Effect - Create a special effect at point2 using Abilities\Spells\Human\FlakCannons\FlakTarget.mdl
-






Special Effect - Destroy (Last created special effect)
-






Set VariableSet KB_Dist[kb] = (KB_Dist[kb] + KB_Speed[kb])
-
-
-




Custom script: call RemoveLocation( udg_point )
-




Custom script: call RemoveLocation( udg_point2 )
-
-
-
-
Barbarian Skills 1.1
Barbarian Skills 100 Hello there! This map contains 4 spells which fits for a barbarian hero. Not very creative, though, I know. Feral Impact: The well-known leap-attack Bonebreaker: The well-known knockback Battle Fury: Increases attack speed when uses a spell. Bonus vanishes slowly...
Last edited:


