Score/resource trigger

BM)DaRkMeGaMaN

Member!
Joined
Jun 12, 2003
Messages
17
Reaction score
0
Location
DaYgO, CaLi
Website
Visit site
on my rpg map i put
conditions:player 1 kills exactly 1 unit
actions:modify score for player 1 add 100 custom
modify resources for player 1 add 75 minerals
perserve trigger

den i tested it...i perserved trigger so dat wen he kills another of da unit den he will get da stuff again but wen i jus kill one it keeps givin da stuff...do ne of u noe y dat happens?
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
Well duh look at this:

CONDITIONS:
player one killes EXCATLY one unit ( this says, as long as he has killed 1 unit exactly it will constantly giv ehim money)


What you need to do:

Conditions:
player kills at least 1 unit
Actions:
modify death score for player # for UNIT subtract 1 (i believe that's what it's called, not sure)
etc.

then hopefully it'll give you money for each kill then subtract from the score.
 

Bolt Head

Member!
Joined
May 20, 2003
Messages
1,194
Reaction score
0
Website
www.shadowfortress.net
ok dark if you use your first trigger you would have to make a trigger for every value that you want to get money for. like kill 1 unit 2 unit 3 and so on and do NOT preserve it

You can't use tassadars method because kills can not be set to 0 or any other number only kill SCORE. can be modified
Your method does not work because The kill trigger is not baced on a present tense action but on total count of units you have killed. so when you kill 1 unit you will have always killed that one unit untill you kill more of them and the number is higher

What you proboly need to do is make a trigger that relates the kill score instead of a kill. For example if you kill a zergling you get 50 kill POINTS. Your trigger should look like this ...

Condtions
-current player kill score is at least [x] where X is points the unit is worth
Actions
-set kill score for current player to SUBTRACT X points
-*Other actions you want like add Y minerals*
-Preserve Trigger
 

SiLeNT(U)

Member!
Joined
May 17, 2003
Messages
76
Reaction score
0
Website
Visit site
there is yet another way:

Conditions:
- Current Player kills atleast 1 unit

Actions:
- Set Death Counts for all units to 0 for current player
- Modify score for player 1 add 100 custom
- Modify resources for player 1 add 75 minerals
- Preserve Trigger

That would also work but bolts way is more known and proven.
 

Lwek

Member!
Joined
May 18, 2003
Messages
4,487
Reaction score
0
Website
www.Battleforums.com
Missing what? The folder is only suppose to contain 2 files. Both the same name. One is the program and the other one is the readme text.
 

Bolt Head

Member!
Joined
May 20, 2003
Messages
1,194
Reaction score
0
Website
www.shadowfortress.net
Originally posted by SiLeNT(U)
there is yet another way:

Conditions:
- Current Player kills atleast 1 unit

Actions:
- Set Death Counts for all units to 0 for current player
- Modify score for player 1 add 100 custom
- Modify resources for player 1 add 75 minerals
- Preserve Trigger

That would also work but bolts way is more known and proven.
uhh silent your wrong about that the death counts do not reset the kills. we will proboly have to argue this on b-net, Ill test this some other time and slap myself if im wrong
 

NewPosts

New threads

Top