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.
[09:56 pm]
Vrael -- yeah well I wouldn't know anything about that
[09:29 pm]
Mini Moose 2707 -- Vrael
Vrael shouted: what Bruce Wayne who's that? sounds like a cool guy
It's :roy:
[09:11 pm]
Vrael -- what Bruce Wayne who's that? sounds like a cool guy
[09:03 pm]
KrayZee -- Vrael
Vrael shouted: also I have recently rediscovered my love for metallica
Of course.
[06:34 pm]
NudeRaider -- the unforgiven 2 :wub:
[06:22 pm]
Vrael -- time to blast that shit
[06:20 pm]
Vrael -- also I have recently rediscovered my love for metallica
[06:20 pm]
Vrael -- all minerals should be given directly to Vrael imo
[06:03 pm]
lil-Inferno -- all minerals should be earned by winning fites imo
[05:51 pm]
NudeRaider -- and I actually think activity based minerals aren't a bad idea. Just being here is a contribution nowadays, imo
Please log in to shout.


Members Online: Roy, Pr0nogo, Cool-Knight, Vrael, NudeRaider, Ashamed, rockz