Page 1 of 1

Pls Help Mee

Posted: Fri Aug 13, 2010 4:24 am
by BugMeNot
I have TD map and i make sell abiltiy for my towers but with

Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Sell Tower
Actions
Player - Add ((Point-value of (Casting unit)) / 2) to (Owner of (Casting unit)) Current gold
Special Effect - Create a special effect at (Position of (Casting unit)) using ...
Unit - Remove (Casting unit) from the game

but its not giving %50 its just giving 50 gold. Pls help me how i can fix it . (My english is very bad sorry)

--RaMZeN

Re: Pls Help Mee

Posted: Fri Aug 13, 2010 7:19 am
by 3ICE
Simple: You forgot to change all towers' point values and they are at 100 by default, giving you the 50 gold result.
Point value is not magic. And it is not the unit's gold cost either.
It is a customizable number you can change in the object editor, for each unit. It defaults to 100.

What broken tutorial have you been following that told you about the trigger but forgot to mention the actual logic behind it?

Re: Pls Help Mee

Posted: Sat Aug 21, 2010 3:06 pm
by BugMeNot
k

--RaMZeN

Re: Pls Help Mee

Posted: Sat Aug 21, 2010 3:07 pm
by 3ICE
And why the fuck is your topic title this: "Pls Help Mee"
Rules wrote:
Topic title:
You must use a descriptive title. (Help plz is not good) (Need help with Dialog buttons is good)