| 05-22-2004, 02:29 AM | #1 |
I'm having trouble with a sell tower trigger and i cant seem to figure out whats wrong with it :mad: Heres what i've got : Code:
Event Unit - Unit finishes training a unit Conditions - (unit type of (trained unit)) equal to sell Actions - Special Effect - create special effect at (position of triggering unit)) using abilties \spells\human\holybolt\holyboltspecialart.mdl Unit - Remove triggering unit from game Unit - Remove (trained unit) from game Player - Add (point value of Triggering unit)) to (owner of Trained unit)) Current Gold |
| 05-22-2004, 05:31 AM | #2 |
Do like this Code:
Event Unit begins research Condition (researched tech type) equal to Sell Actions Create Special effect at point of researching unit using (whatever) remove researching unit from the game add value of researching unit to Owner of researching units current gold I think that should work... |
| 05-22-2004, 06:22 PM | #3 |
Thx alot man. It worked perfectly. |
| 05-22-2004, 07:33 PM | #4 |
yeah, its working but i still dont know how to make 75% gold from sell :\ |
| 05-22-2004, 08:17 PM | #5 | |
Quote:
|
| 05-22-2004, 10:21 PM | #6 |
The defualt point value is 100, just change it. |
