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.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
[2026-4-13. : 2:13 pm]
NudeRaider -- bro I don't go anywhere without my phone to record anything significant
[2026-4-13. : 1:28 pm]
Vrael -- Zoan
Zoan shouted: not if u wer there
id say even if you were there its tricky, human memory can be very faulty
Please log in to shout.


Members Online: Ojan