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.
[01:15 am]
Symmetry -- There are so many people here I'm surprised we're still online :hurr:
[2026-8-23. : 9:47 pm]
Symmetry -- :wob::wob:
[2026-8-23. : 9:14 pm]
Apos -- I like to :wob:-it :wob:-it.
[2026-8-22. : 11:25 pm]
Zakerozi -- HI
[2026-8-22. : 10:29 pm]
Symmetry -- handledeez nuts
[2026-8-22. : 7:42 pm]
Excalibur -- Its handled.
[2026-8-22. : 6:50 pm]
Praetor -- yo nude or another mod, anyone around rn?
[2026-8-22. : 7:30 am]
NudeRaider -- ultraviolet
[2026-8-22. : 4:42 am]
LoveLess -- ultragod
[2026-8-22. : 4:07 am]
Symmetry -- I'm trying to figure out an end goal for my map. So far the best I've got is "destroy the AI data centers to summon god then kill god"
Please log in to shout.


Members Online: RaNer