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

Cosmonarch

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




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:53 am]
Ultraviolet -- :wob:
[2026-11-27. : 10:21 am]
Zycorax -- :wob:
[2026-11-27. : 9:46 am]
UndeadStar -- :wob:
[2026-11-27. : 3:45 am]
Symmetry -- :wob:
[2026-11-24. : 7:28 pm]
Mr.BurnLiquid -- Thanks
[2026-11-24. : 7:17 pm]
NudeRaider -- you can't, just edit.
[2026-11-24. : 6:33 pm]
Mr.BurnLiquid -- Hi, how do I delete posts I’ve made? I was practicing with map editing or at least working with existing maps but I’d like to delete them; I’ve since refined my style and want to start fresh with new posts.
[2026-11-21. : 7:14 pm]
Symmetry -- so it shows the version history of temple siege
[2026-11-21. : 7:13 pm]
Symmetry -- I think he's trying to find the most popular versions of maps
[2026-11-21. : 9:24 am]
UndeadStar -- yes it helped...but I didn't understand what the picture was about lol
Please log in to shout.


Members Online: Symmetry