Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Clock triggers failing
[SOLVED] Clock triggers failing
May 10 2019, 9:30 pm
By: rnDPrc  

May 10 2019, 9:30 pm rnDPrc Post #1

Hello gentlemen,

I'm trying to make a clock and have the resources of "Player 1" replenish every 1 minute. However, when one minute elapse, nothing happens.

The reason I want a clock is so I can give the player some customization choices before the map actually starts, so elapsed time would be bad. Countdown is also bad here since I want some of the stuff that happens look random but still be on a timer.

Anyways, I set up the clock so that every 119 ticks it adds 1 to a counter, and when that counter reaches 6 it goes back to 0.

There's a secondary counter for the 1s digit, but the main counter is only affected by the 10s one, for precision reasons.

Here's the triggers:

Cantina is incremented every trigger cycle
Cave is minutes (irrelevant in this problem)
Cave-In is 10s digit, and it's the only one that modifies Cantina
Jump Gate is 1s (irrelevant in this problem)

Can anyone help / point me in the right direction?

Thanks a lot for reading :)

Post has been edited 2 time(s), last time on May 11 2019, 6:27 am by rnDPrc. Reason: solved


May 11 2019, 6:27 am rnDPrc Post #2

So, after testing for a while, I realized my scmdraft was doing some weird things (like always giving me units when I used "Current Player", no matter who the trigger was for), so I restarted the computer and now it's all good :)


  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:00 am]
jjf28 -- we're talking about it a bunch on discord ;)
[11:59 pm]
jjf28 -- ya, I live ~20 mins from minneapolis
[10:51 pm]
Ultraviolet -- I watched the video, shit was fucked up O.o
[10:50 pm]
Ultraviolet -- are you guys having rioting going on there, too? I've only heard about the rioting in Minneapolis after the police murdered that George Floyd guy
[10:50 pm]
Ultraviolet -- ah nice one of my best friends moved out that way a few years ago, I hear it's lovely
[10:44 pm]
KrayZee -- Ultraviolet
Ultraviolet shouted: KrayZee are you in Minneapolis?
No, the Bay Area
[10:38 pm]
Dem0n -- also [codebox], idk what the difference between those two are though
[10:37 pm]
Dem0n -- There's the [code] tag you can use
[10:04 pm]
KlaSsicaL -- Is there any method to share monospace text on post? If not, sharing text table with row N colum 2?
[06:35 pm]
Ultraviolet -- You might even be able to turn another unused unit into a map revealer imitation with a smaller vision range so that you could have both normal map revealers and smaller map revealers. Not sure about this one though.
Please log in to shout.

Members Online: Roy