HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Sell Tower Help

05-22-2004, 02:29 AM#1
orcmasta
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
TheSnorBlob
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
orcmasta
Thx alot man. It worked perfectly.
05-22-2004, 07:33 PM#4
Nash
yeah, its working but i still dont know how to make 75% gold from sell :\
05-22-2004, 08:17 PM#5
orcmasta
Quote:
Originally Posted by Nash
yeah, its working but i still dont know how to make 75% gold from sell :\
Yeah, I noticed that too for my tower that costs 10 gold to build it gives back 100...Guess i've got work to do yet
05-22-2004, 10:21 PM#6
Milkman
The defualt point value is 100, just change it.