Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Kills and razings not working?
Kills and razings not working?
Nov 16 2007, 5:39 pm
By: Obzio  

Nov 16 2007, 5:39 pm Obzio Post #1



Hi, i create New Special Forces map and he is 90% ready! :)
10% left to find and fix bugs!

...and i have found one:

Conditions:
Brind 1 [any unit] in location gold for currnet player
[player] kills and razing score is [atleast] 1000
[player] kills and razing score is [atmost] 9999
Actions:
Modify score for Current Player : Subtract 1000 Kills And Razings
...add 1000 ore for Current Player
Preserve trigger

and then i bring 1 marine to location "Gold"
and he add 1000 ore, but subtract only ~500 Kills and razings (half)

Then i modify Subtract 10000 Kills And Razings
add 10000 ore

i bring 1 marine...add 10000 ore but subtract ~5000 Kills And Razings...again half

Where i wrong?

Post has been edited 1 time(s), last time on Nov 16 2007, 6:32 pm by Obzio.



None.

Nov 16 2007, 6:19 pm Moobz Post #2



Trigger should look more like this:

Conditions:
- [player] brings [amount] [number] [unit] to [location]
- [player] kills and razing score is [atleast] 1000

Actions:
- Modify score for [player]: subtract 1000 kills and razings
- modify recources for [player] [add] [1000] ore
- preserve trigger

You're missing the second condition, which should do it, of course you should use multiple ones of this trigger with larger increments or use hyper triggers to set it off faster.



None.

Nov 16 2007, 6:29 pm Obzio Post #3



Quote from Moobz
Trigger should look more like this:

Conditions:
- [player] brings [amount] [number] [unit] to [location]
- [player] kills and razing score is [atleast] 1000

Actions:
- Modify score for [player]: subtract 1000 kills and razings
- modify recources for [player] [add] [1000] ore
- preserve trigger

You're missing the second condition, which should do it, of course you should use multiple ones of this trigger with larger increments or use hyper triggers to set it off faster.

Sorry, i miss write here
Conditions:
[player] kills and razing score is [atleast] 1000
and
[player] kills and razing score is [atmost] 9999
but noting

Do you think is hyper trigger?
if yes who player i create hyper trigger and how many o millseconds add?



None.

Nov 16 2007, 7:45 pm TristanOfVP Post #4



I had this problem before, if you don't have any raizing kills it will only deduct half for the kills only, that's why it is only taking away 500

What I suggest is doing a trigger like this

-Condition
raizings is at least 1000
-Action
set raizings to 0
set kills to add 1000

That's what I did for my map.

Damn it I was doing a new MSF map, mine is almost done too :omfg:
Oh well hopefully they will be different enough. :)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
[2026-5-31. : 2:55 pm]
Moose -- >reddit :rip2:
Please log in to shout.


Members Online: Dem0n, Excalibur