- Joined
- Dec 21, 2010
- Messages
- 541
I created my new trigger similar to Riki's Smoke bomb
I can't seem to find the problem.. whenever I started to use the ability in team 1.. it works perfectly fine.. but when I use the ability in team 2... the effect only affects team 2.. I hope someone can help me with this..
-
Smoke Bomb
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Smoke Bomb
-
Actions
- Set General_Point3 = (Target point of ability being cast)
- Unit - Create 1 Generic Dummy for (Owner of (Triggering unit)) at General_Point3 facing Default building facing degrees
- Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
- Unit - Add Smoke Effect to (Last created unit)
- Unit - Set level of Smoke Effect for (Last created unit) to (Level of Smoke Bomb for (Triggering unit))
- Unit - Order (Last created unit) to Human Dragonhawk Rider - Cloud General_Point3
- Special Effect - Create a special effect at General_Point3 using Abilities\Spells\Human\CloudOfFog\CloudOfFog.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation (udg_General_Point3)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Check_Debug Equal to True
-
Then - Actions
- Game - Display to (All players) the text: Smoke bomb Check
- Else - Actions
-
If - Conditions
-
Events
I can't seem to find the problem.. whenever I started to use the ability in team 1.. it works perfectly fine.. but when I use the ability in team 2... the effect only affects team 2.. I hope someone can help me with this..