HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do u make units killable for cash?

05-29-2004, 04:21 PM#1
GosuSheep
In the Object Editor, there is "BOUNTY" and stuff... but im not sure how to make it do the little "+14" when u kill a guy... Regular units worth cash on kill...



replies are greatly appreciated
05-29-2004, 04:37 PM#2
Shimrra
You can give the units to Neutral Hostile. Also, I believe there is a trigger that might allow it as well, but I'll to look. I'll update this post if I find it.

Update: Found it! Here's the trigger: "Player - Turn Gives bounty On for Player 2 (Blue)"
05-29-2004, 06:08 PM#3
Foxfire88
I just used a trigger for my bounty.

Event : A unit is killed.

Condition : Owner of dying unit equal to Enemy of Owner of killing unit

Action : Create a random number between 1 and 50 and add value to Owner of killing unit current gold

you can change the gold value of course......
05-29-2004, 06:15 PM#4
Shimrra
That can work, but the trigger I stated uses the actual bounty values placed into the game by Blizzard and creates the little +XGold above the unit.
05-29-2004, 10:53 PM#5
GosuSheep
thanks guys both of u..

my next question is...

which is the gold bounty and which is the exp bounty in the object editor?
05-29-2004, 11:13 PM#6
Shimrra
In the Object Editor, there should be fields under stats the reference 'Bounty'. That should be what you are looking for. As for the XP, I think it's Point Value.
05-30-2004, 01:08 AM#7
qmrcool
Actually the experience is set by level of the unit. You can edit how much what level of unit gives when killed but its kinda trickey unless you know what things mean in the gameplay constants menu. If you need extra help with editing the experience just ask.