Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Day/Night trigger to spawn waves
Day/Night trigger to spawn waves
May 17 2017, 9:16 pm
By: TristanOfVP  

May 17 2017, 9:16 pm TristanOfVP Post #1



I'm making a map where players explore the map during a "day" time and defend against waves of enemies attack during the "night" time.

I don't know how to execute this well. I've tried switches and then tried using units to label day and night and removing them after the count down but I can't get it to work well. Looking for ideas to make this system work.



None.

May 17 2017, 10:37 pm theskinsurf Post #2



plenty of ways, the simplest would probably be a timer.

if "day" is cleared
if "night" is set
if timer is at most 0 sec
--
set timer to 5:00
clear "night"
set "day"
preserve

if "day" is set
if "night" is cleared
if timer is at most 0 sec
--
set timer to 5:00
clear "day"
set "night"
preserve

etc etc.



Current project: Star Rogue
Other projects: Triumvirate Defense, Skirmish Islands

Jun 18 2017, 5:20 pm lucifirius Post #3



What you can do is have a unit travel from one point to another to signify day/night.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:46 pm]
Pr0nogo -- 🤙
[09:28 pm]
Lanthanide -- hello
[08:32 pm]
voxinity -- hello
[08:28 pm]
NudeRaider -- Mini Moose 2707
Mini Moose 2707 shouted: htt ... nah man, ain't falling for that again, figure it out yourself.
:awesome: alright alright, I'll google it myself. ... and yeah sraw531
sraw531 shouted: Pr0nogo NudeRaider He could be referring to the not-definition of it being shaka, or hang loose.
seems plausible
[08:06 pm]
Mini Moose 2707 -- htt ... nah man, ain't falling for that again, figure it out yourself.
[06:52 pm]
NudeRaider -- what's shaka or hang loose O.o
[06:16 pm]
sraw531 -- at least, when I glanced at the picture, thats what I thought it was. But apparently its specifically not shaka.
[06:14 pm]
sraw531 -- Pr0nogo
Pr0nogo shouted: 🤙
NudeRaider
NudeRaider shouted: Pr0nogo what does that mean?
He could be referring to the not-definition of it being shaka, or hang loose.
[12:59 pm]
Suicidal Insanity -- FaRTy1billion
FaRTy1billion shouted: Suicidal Insanity I just use the browser-based discord. just as easy as shoutbox
Ya but it doesn't crash the server when searching
[12:30 pm]
Pr0nogo -- it's a hidden message to my Ns who have moved on to the other side, rip xxxt, now u xxxtinct bro
Please log in to shout.


Members Online: Roy, UEDCommander, lil-Inferno, Excalibur, jjf28