- Joined
- Nov 25, 2014
- Messages
- 526
Hey hivers, I have this trigger that shows special effects when a coinbox is destroyed. The designated variable for such special effect is "specialeff[3]".
-
Makhutha Gateway Coinbox
-
Events
- Unit - A unit Dies
-
Conditions
- (Unit-type of (Dying unit)) Equal to Coin Box
-
Actions
- Player - Add (Random integer number between 9 and 17) to Player 1 (Red) Current gold
- Special Effect - Create a special effect attached to the origin of (Attacked unit) using UI\Feedback\GoldCredit\GoldCredit.mdl
- Set specialeff[3] = (Last created special effect)
- Special Effect - Destroy specialeff[3]
-
Events