romanandre
New Member
- Reaction score
- 2
I'm trying to make this Water Shield to act like Lightning Shield and float around the hero but the orbs keeps increasing distance between the Hero and it goes up and down sometimes!! Please help!
Trigger:
- Water Shield
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Water Shield
- Actions
- Set WaterShieldCaster = (Triggering unit)
- Set WaterShieldCenter = (Position of (Triggering unit))
- Set WaterShieldDistance = ((Position of WaterShieldCaster) offset by 150.00 towards WaterShieldReal degrees)
- Unit - Create 1 Thrall Dummy Unit for (Owner of WaterShieldCaster) at WaterShieldDistance facing Default building facing degrees
- Set WaterShieldUnit = (Last created unit)
- Trigger - Turn on Water Shield Circle Around <gen>
- Events
Trigger:
- Water Shield Circle Around
- Events
- Time - Every 0.01 seconds of game time
- Conditions
- Actions
- Set WaterShieldReal = (WaterShieldReal + 6.00)
- Unit - Move WaterShieldUnit instantly to ((Position of WaterShieldCaster) offset by (Distance between (Position of WaterShieldCaster) and (Position of WaterShieldUnit)) towards WaterShieldReal degrees)
- Events