| 09-01-2004, 10:49 PM | #1 |
ok 3 straight hours on this one concept...i knew how to do this myself, but it didnt work out how i planned...so i ripped it off arkguils and replaced the units and variables, it didnt work either, so i ripped it off bow TD...replaced units and variables and this FU**IN sell tower refuses to cooperate! trigger goes somethin like this event: unit owned by player 1 finishes training a unit condition: unit type equal to "sell" action: kill triggering unit kill trained unit check health on triggering unit (selling tower) player-add "Sell_Value" to triggering player gold yeah that SHOULD work, but instead i end up the old tower not dieing...or the trained unit...and no gold...sum1 tell me wtf i did wrong... |
| 09-01-2004, 10:54 PM | #2 |
Why don't you make the sell option, and change it into an ability. Here is the respectave trigger. Code:
Events- Unit begins casting ability (sell) Conditions- Casting unit = to tower Actions- Kill casting unit Actions- Give player respectave gold There you have it. Try that, if that doesn't work post again. ![]() |
| 09-01-2004, 11:31 PM | #3 |
aaahhh ok that works thanks a million...still confused why the other didnt work =/ but fuqit gotta get this map out now...peaceout |
