Help me!!

gongalope

Member
Joined
Sep 30, 2002
Messages
12
Reaction score
0
Location
australia
Website
Visit site
i am trying to creat a map where if you kill a unit you get 50 minerals but it doesnt seem to work.cause when you go into the game the minerals just keep coming.
i have tried things like
kill exatly one of any unit and modiffy resources to add 50 minerals and i changed it from being exctelly to at most and at least and i also preserved the trigger.but nothing seems to work
PLEASE HELP ME
 

coRtALoS

-=[ Retired BF Admin ]=-
Joined
Sep 17, 2002
Messages
4,278
Reaction score
2
Location
Massachusetts
Website
www.BattleForums.com
The problem with using "Player kills exactly/at least/at most (number) (units)" is no matter what, if you set the number of kills to 1, and you have that trigger preserved, as soon as you kill one unit, it's going to keep giving you minerals.

You should use the "Kills and Razings" score system.

It's basically a preset method of keeping track of kills a player gets in the form of points. The point system, however, is preset by Blizzard, so you have to deal with the 100 points you get for killing a Marine, and 50 for a ling. That's not minerals though. From there, if you want minerals to be involved, you'll have to make locations where the player can bring either their attacking unit, or another non-combatant unit somewhere else on the map to a beacon to heal them, and give them minerals.

You'd want locations called 'Player 1 Minerals', 'Player 1 Heal', and 'Player 1 Reset'.

Condition:
-Current player brings at least 1 Terran Civilian to Player 1 Minerals'
-Current player's Kills and Razings score is at least 50

Action:
-Modify Kills and Razings Score Subtract (Number of points) for current player
-Modify Resources: Add 50 minerals
-Move 1 Terran Civilian at location Player 1 Minerals to Player 1 Reset for current player
-Preserve Trigger

This way they'll be able to control whether they want to heal or get money. That Moving unit trigger could get annoying if you wanted to get a lot of money however, so you could get rid of that alltogether and add something like...

Wait for 4500 milliseconds

Before the Preserve Trigger to allow the player ample time to get off of the beacon. Additionally, you'll have to do something like this for every player, and if you want a healing beacon... well, you get the point.

It's not impossible... just time consuming :)
 

Ender001

Member!
Joined
Aug 18, 2003
Messages
50
Reaction score
0
Website
flamefromthesky.tk
i tried to take out the firebat in ling blood cuz he's cheap...now on that version the firebats just come and come until everyone has about 500...i've created a ling and bat blood. oh, the things that happen when you mess with triggers
 

Bolt Head

Member!
Joined
May 20, 2003
Messages
1,194
Reaction score
0
Website
www.shadowfortress.net
Ohh Crap now i double posted lol. Sorry All my mistake

Edit: See we all make mistakes lol. We can use this thread as a list of don'ts
 
Joined
Oct 1, 2003
Messages
933
Reaction score
0
Location
A cardboard box
it's bad to bump threads...why? what id there's a good thread that just got forgotten about...besides, what if you've already looked at ALL the threads on the main thingie?
i'm ender001 just in case u didnt know..
 

NewPosts

New threads

Top