After the trigger is run my hero will freeze up when right clicking any unit. I've tested by using other units to right click units after the trigger is run, but they don't freeze up. I've determined that the custom abilities on the unit are making it freeze up after the trigger is run.
Instead of dealing with the abilities, I'd think it would be better to deal with the trigger, and hopefully someone can figure it out.
Edit: Solved it myself. Thanks for not helping guys
Instead of dealing with the abilities, I'd think it would be better to deal with the trigger, and hopefully someone can figure it out.
-
Hint1 1
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Buy Hint
-
((Owner of (Casting unit)) Current gold) Not equal to 0
-
(Hero level of (Casting unit)) Equal to 1
-
-
Actions
-
Player - Set (Owner of (Casting unit)) Current gold to (((Owner of (Casting unit)) Current gold) - 1)
-
Unit - Create 1 Hint 1 for Player 9 (Gray) at (Point(-8786.50, 8365.30)) facing Default building facing degrees
-
Sound - Play LightningBolt1 <gen> at 100.00% volume, attached to (Last created unit)
-
Special Effect - Create a special effect at (Position of (Last created unit)) using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
-
Wait 1.00 seconds
-
Trigger - Turn on Hint2 1 <gen>
-
Trigger - Turn off (This trigger)
-
-
Edit: Solved it myself. Thanks for not helping guys

Last edited: