Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: How to stop reloading text
How to stop reloading text
Dec 29 2007, 2:52 am
By: Fawkes  

Dec 29 2007, 2:52 am Fawkes Post #1



Im making a map with an ammo system, and when you reload, it shows this:

Reloading... [||||||||||]

The bars change color until they're full, then you're supposed to reload. However, instead of this happening, the reload msg plays over and over. I used the trigger:

Players:
Current player accumulates exactly 0 minerals
Current player accumulates at least 1 vespene gas

Actions:
Set 'Reload'
Preserve Trigger


Players:
Current player accumulates exactly 0 minerals
Current player accumulates at least 1 vespene gas
'Reload' is set

Actions:
Display msg 1
Wait 500 ms
Display msg 2...
Wait 5 ms
Set minerals for current player to 6
Subract 1 vespene gas for current player
Preserve Trigger

How do I fix this?



None.

Dec 29 2007, 3:19 am Falkoner Post #2



You never clear 'Reload', so why do you have it at all?



None.

Dec 29 2007, 3:54 am Fawkes Post #3



Sorry, I DID clear reload, just forgot to type it here. =( I'm stupid -.-.



None.

Dec 29 2007, 10:14 am NudeRaider Post #4

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Fawkes
Sorry, I DID clear reload, just forgot to type it here. =( I'm stupid -.-.
Well when you did that, the triggers should work fine. But for reasons of efficiency remove the first trigger and all instances with the switch.

Then the only conditions left are ore and gas. Is it possible another trigger sets your minerals back to 0? Or maybe your add 6 minerals doesn't work. (for the right player?)




Dec 29 2007, 4:15 pm Fawkes Post #5



Whoops. *slaps face*. I forgot to add the triggers to reset resources, it works fine now =].



None.

Dec 29 2007, 4:20 pm Moose Post #6

Armor: 90.50%

I don't see why the switch is necessary at all, because the conditions that set the switch appear exactly the same in the trigger below it. It won't cause problems, but it's a matter of efficency.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:02 pm]
Zoan -- of course it isn't full understanding. You could ask "is the mechanism by which this counterexample blows up the ONLY mechanism possible for an initial configuration to blow up?"
[05:48 pm]
Zoan -- ppl do it all the time in PDEs
[05:47 pm]
Zoan -- Heinermann
Heinermann shouted: it also didn't solve that problem but hey as long as the investors are pleased
Constructing a counterexample is answering the question: "Is Navier Stokes well posed?" in the negative
[05:44 pm]
NudeRaider -- I only heard about it, didn't any news article, so what did it do then?
[05:43 pm]
Heinermann -- it also didn't solve that problem but hey as long as the investors are pleased
[05:39 pm]
NudeRaider -- I have no idea tbh. All I know no human was ever able to solve it, but there's at least a few that beat portal ;)
[05:32 pm]
Zoan -- Navier Stokes is not that esoteric I thought
[04:32 pm]
NudeRaider -- Zoan
Zoan shouted: I find it kind of sad that on the same day it was announced AI solved Navier Stokes, it was also announced AI beat Portal, and there's a good deal of people who don't know which is more impressive
you find it sad not everyone is a math nerd?
[03:25 pm]
NudeRaider -- (and yes, I capitalized that correctly :ego:)
[03:24 pm]
NudeRaider -- Symmetry
Symmetry shouted: Hi not I'm dad
Hi dad, I'm nude
Please log in to shout.


Members Online: Rawflesh0615, DarkenedFantasies