I have a trigger which gives exp to player red. This is only for testing purposes. For some reason the trigger, if spammed, causes the game to enter a "slow motion" state. Units move and attack slower. Cooldowns are slower and my game countdown timer counts slower than seconds. I've only tested this in single player.
I originally thought it was because of the memory leak as shown in the trigger:
However, the problem still arose after I fixed the memory leak as shown below:
Whats going on? The trigger is spammed until my unit hits level 6. Its maybe run about 12 times or so. And Its causing Warcraft 3 to go into slow motion?
I originally thought it was because of the memory leak as shown in the trigger:
-
Experience Old
-
Events
- Player - Player 1 (Red) types a chat message containing -exp as An exact match
-
Conditions
- (Name of (Triggering player)) Equal to WorldEdit
-
Actions
-
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 1 (Red)) and do (Actions)
-
Loop - Actions
- Hero - Add 100 experience to (Picked unit), Show level-up graphics
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 1 (Red)) and do (Actions)
-
Events
-
Experience
-
Events
- Player - Player 1 (Red) types a chat message containing -exp as An exact match
-
Conditions
- (Name of (Triggering player)) Equal to WorldEdit
-
Actions
- Set TempUnitGroup = (Units in (Playable map area) owned by Player 1 (Red))
-
Unit Group - Pick every unit in TempUnitGroup and do (Actions)
-
Loop - Actions
- Hero - Add 100 experience to (Picked unit), Show level-up graphics
-
Loop - Actions
- Custom script: call DestroyGroup (udg_TempUnitGroup)
-
Events