If i have 2 spells like this
so lets say i have 2 spells on 2 different heroes
Hero A has punch
Hero C has kick
if on the same map
Hero A uses punch on Hero B and Hero C uses kick on Hero D will it bug out since they are not Mui
or will they not since it is 2 separate triggers?
-
Punch
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Punch
- Actions
- Set Caster = (Triggering unit)
- Set Target = (Target unit of ability being cast)
- Set LoopCounter = 0
- Trigger - Turn on KnockbackMove <gen>
-
PunchMove
- Events
- Time - Every 0.02 seconds of game time
- Conditions
- Actions
- Set TempLoc00 = (Position of Caster)
- Set TempLoc01 = (Position of Target)
- Set TempLoc02 = (TempLoc01 offset by 5.00 towards (Angle from TempLoc00 to TempLoc01) degrees)
- Unit - Move Target instantly to TempLoc02
- Custom script: call RemoveLocation(udg_TempLoc00)
- Custom script: call RemoveLocation(udg_TempLoc01)
- Custom script: call RemoveLocation(udg_TempLoc02)
- Set LoopCounter = (LoopCounter + 1)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- LoopCounter Greater than 50
- Then - Actions
- Trigger - Turn off (This trigger)
- Else - Actions
Kick
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Kick
Actions
Set Caster = (Triggering unit)
Set Target = (Target unit of ability being cast)
Set LoopCounter = 0
Trigger - Turn on KnockbackMove <gen>[/TRIGGER]
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Kick
Actions
Set Caster = (Triggering unit)
Set Target = (Target unit of ability being cast)
Set LoopCounter = 0
Trigger - Turn on KnockbackMove <gen>[/TRIGGER]
-
KickMove
- Events
- Time - Every 0.02 seconds of game time
- Conditions
- Actions
- Set TempLoc00 = (Position of Caster)
- Set TempLoc01 = (Position of Target)
- Set TempLoc02 = (TempLoc01 offset by 5.00 towards (Angle from TempLoc00 to TempLoc01) degrees)
- Unit - Move Target instantly to TempLoc02
- Custom script: call RemoveLocation(udg_TempLoc00)
- Custom script: call RemoveLocation(udg_TempLoc01)
- Custom script: call RemoveLocation(udg_TempLoc02)
- Set LoopCounter = (LoopCounter + 1)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- LoopCounter Greater than 50
- Then - Actions
- Trigger - Turn off (This trigger)
- Else - Actions
Hero A has punch
Hero C has kick
if on the same map
Hero A uses punch on Hero B and Hero C uses kick on Hero D will it bug out since they are not Mui
or will they not since it is 2 separate triggers?