HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

get money back by trigger...

08-31-2003, 12:38 PM#1
Ironboy
kill
Events
Unit - A unit owned by Player 9 (Gray) Finishes training a unit
Unit - A unit owned by Player 10 (Light Blue) Finishes training a unit
Unit - A unit owned by Player 11 (Dark Green) Finishes training a unit
Conditions
(Unit-type of (Trained unit)) Equal to Destroy (No Money Back)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Remove (Trained unit) from the game



What action should I add to have it pay me back 20% of its costs? (specified please..?)


thxs
08-31-2003, 01:57 PM#2
cideh
Um.. Player - Add (Point value of (Training unit) * 0.2) to (Owner of (Training unit)) current gold.

Set the point value for all units to their gold cost.
08-31-2003, 03:37 PM#3
Ironboy
Quote:
Originally posted by cideh
Um.. Player - Add (Point value of (Training unit) * 0.2) to (Owner of (Training unit)) current gold.

Set the point value for all units to their gold cost.


How to set the point value for all units to their gold cost?!

Could u be more specified?

thxs
08-31-2003, 03:42 PM#4
cideh
The point value is a field in the unit editor(Object Editor -> Units). Default value is 100.