- Joined
- Jun 12, 2007
- Messages
- 1,261
Oke I made some triggers for my map, and I have alot of these triggers in my map (same kind). I want to know if these triggers would leak or not and if so how to fix them.
I looked at tutorials on how to remove leaks but I didn't realy get that.
First is a trigger I used for digging.
I looked at tutorials on how to remove leaks but I didn't realy get that.
First is a trigger I used for digging.
-
Essence of Outset6
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- (Ability being cast) Equal to Action
- (Owner of (Triggering unit)) Equal to Player 6 (Orange)
- (Item-type of (Item carried by (Triggering unit) in slot 1)) Equal to Tools: Shovel
- (IS Outset Island Herb and Outset Essence Spawn <gen> contains Hero6Orange) Equal to True
-
Conditions
-
And - All (Conditions) are true
-
Actions
- Game - Display to Player Group - Player 6 (Orange) the text: You start digging w...
- Special Effect - Create a special effect attached to the origin of Hero6Orange using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
- Wait 4.00 seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Random real number between 0.00 and 100.00) Less than or equal to 20.00
-
Then - Actions
- Item - Create Essence of Strenght at (Position of Hero6Orange)
- Game - Display to Player Group - Player 6 (Orange) the text: You found something...
-
Else - Actions
- Game - Display to Player Group - Player 6 (Orange) the text: You find nothing bu...
-
If - Conditions
-
Events
-
MurlocTiderunner
-
Events
- Unit - A unit Dies
-
Conditions
- (Unit-type of (Triggering unit)) Equal to Murloc Tiderunner
-
Actions
- Hero - Add 1 experience to (Killing unit), Show level-up graphics
- Set UnMurlocTiderunnerLocation = (Dying unit)
- Item - Create Murloc Tiderunner Scales at (Position of UnMurlocTiderunnerLocation)
- Wait 20.00 seconds
- Unit - Create 1 Murloc Tiderunner for Neutral Hostile at (Random point in IS Outset Island Murloc and Wood Spawn <gen>) facing (Random real number between 0.00 and 360.00) degrees
-
Events