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-6-06. : 5:20 pm]
Ultraviolet -- I was kinda thinking something along these lines
[2024-6-06. : 2:23 pm]
NudeRaider -- I'll play the shadow out of you!
[2024-6-06. : 2:20 pm]
Vrael -- ooooo darker baby darker
[2024-6-06. : 2:20 pm]
Vrael -- yeah make it dark
[2024-6-06. : 2:20 pm]
Vrael -- ohhh yeah cast ur shadow right on my light bits
[2024-6-06. : 7:56 am]
Oh_Man -- It's nvidia shadowplay come on people!! get ur minds out of the gutter and join me in utopia
[2024-6-05. : 7:04 pm]
Ultraviolet -- NudeRaider Am I the only sick fuck who heard shadow play and started thinking what weird sex stuff it might be? :P
[2024-6-05. : 7:01 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol my shadowplay seems to think starcraft is diablo 4 now; i wonder if this is coz i had diablo 4 open the toher day
terrible game
[2024-6-05. : 12:47 pm]
Oh_Man -- lol my shadowplay seems to think starcraft is diablo 4 now; i wonder if this is coz i had diablo 4 open the toher day
Please log in to shout.


Members Online: Roy