ianu74
New Member
- Reaction score
- 8
I noticed that when i played my map, it starts to get jerky and sort of stops every 3 seconds. Anyone has any ideas why?
I think its due to this trigger, can anyone see if its leaking?
I think its due to this trigger, can anyone see if its leaking?
Trigger:
- Tigers Roar
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Tiger's Roar
- Actions
- Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Angle from (Position of (Triggering unit)) to (Target point of ability being cast)) degrees
- Set TigersRoar = (Last created unit)
- Set WhiteHuntress = (Triggering unit)
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Trigger - Turn on Tiger Roar <gen>
- Wait 1.00 seconds
- Trigger - Turn off Tiger Roar <gen>
- Events
Trigger:
- Tiger Roar
- Events
- Time - Every 0.04 seconds of game time
- Conditions
- Actions
- Set Temp_point = ((Position of TigersRoar) offset by 30.00 towards (Facing of TigersRoar) degrees)
- Unit - Move TigersRoar instantly to Temp_point
- Special Effect - Create a special effect at Temp_point using Abilities\Spells\NightElf\BattleRoar\RoarCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Unit Group - Pick every unit in (Units within 300.00 of Temp_point matching ((((Matching unit) belongs to an enemy of (Owner of TigersRoar)) Equal to True) and (((Matching unit) is alive) Equal to True))) and do (Actions)
- Loop - Actions
- Set TempPoint2 = ((Position of (Picked unit)) offset by 30.00 towards (Angle from Temp_point to (Position of (Picked unit))) degrees)
- Unit - Move (Picked unit) instantly to TempPoint2
- Unit - Cause WhiteHuntress to damage (Picked unit), dealing (0.20 x (Real(((Level of Tiger's Roar for WhiteHuntress) x (Hero level of WhiteHuntress))))) damage of attack type Spells and damage type Universal
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation (udg_TempPoint2)
- Loop - Actions
- Custom script: call RemoveLocation (udg_Temp_point)
- Events