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.


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"

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

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.


  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:51 am]
NudeRaider -- when I'm on console I just use nano.
[10:02 am]
Mini Moose 2707 -- vi is on pretty much Linux distro, emacs is usually an optional package. So Vrael's use case of people not upgrading their OS for 800 years favors vi.
[08:56 am]
Suicidal Insanity -- Vrael
Vrael shouted: I use vi frequently
Man, no emacs? :D :D :D
[04:20 am]
Voyager7456 -- Mini Moose 2707
Mini Moose 2707 shouted: IDK, keystroke efficient AF but you have to get over a big learning curve and also be the type of person who wants to be able to do anything in like 4 keystrokes because they can lmao
anything except quit
[04:19 am]
Vrael -- but also because its convenient
[04:19 am]
[04:18 am]
Vrael -- I use vi frequently
[03:29 am]
Lanthanide -- 2 people in my team, actually
[03:29 am]
Lanthanide -- a few people at work do all their coding in vim
Please log in to shout.

Members Online: Roy, NudeRaider