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

We live in a society.

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.
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8: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
Please log in to shout.


Members Online: Roy