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.
[08:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
Please log in to shout.


Members Online: 1charlottec4485fB6, C(a)HeK, SPyro_Malin