Fuin
New Member
- Reaction score
- 0
I have few triggers does it leak? If it do how to remove those leaks?
and
Also can anyone give me link to tool which finds memory leaks, I saw it somewhere but now can't find.
Code:
Text Red
Events
Unit - A unit Starts the effect of an ability
Conditions
(((Triggering unit) is A Hero) Equal to True) and ((Owner of (Triggering unit)) Equal to Player 1 (Red))
Actions
Floating Text - Create floating text that reads (Name of (Ability being cast)) at (Position of (Triggering unit)) with Z offset 0.00, using font size 10.00, color (100.00%, 26.00%, 26.00%), and 0.00% transparency
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
Floating Text - Change (Last created floating text): Disable permanence
Code:
Footmeny Red
Events
Time - Every 10.00 seconds of game time
Conditions
(Player 1 (Red) slot status) Equal to Is playing
Actions
Unit - Create 1 Footman for Player 1 (Red) at (Center of Red Spawn <gen>) facing Default building facing degrees