kungfuturte0
New Member
- Reaction score
- 2
If been searching for this and I could'y find it
Im making a TD and just adding some finishing touches. I want to be able to sell towers, so I found out how to only thing is you click sell tower, the tower disappears but i get NO gold back ( i want 75% of towers intial value). Is there something wrong with trigger or ability? Heres the trigger:
Event - Unit - A unit starts the effect of an ability
Condition - (Ability being cast) equal to Sell Tower
Actions - Player - Add ((Point value of (triggering unit)) x (Integer(0.75))) to(owner of (triggering unit)) current gold
Unit - Remove (triggering unit) from the game
Any ideas why its not giving any gold??? Thanks for any help
Im making a TD and just adding some finishing touches. I want to be able to sell towers, so I found out how to only thing is you click sell tower, the tower disappears but i get NO gold back ( i want 75% of towers intial value). Is there something wrong with trigger or ability? Heres the trigger:
Event - Unit - A unit starts the effect of an ability
Condition - (Ability being cast) equal to Sell Tower
Actions - Player - Add ((Point value of (triggering unit)) x (Integer(0.75))) to(owner of (triggering unit)) current gold
Unit - Remove (triggering unit) from the game
Any ideas why its not giving any gold??? Thanks for any help