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

meme

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.
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
Please log in to shout.


Members Online: Heinermann