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.
[05:02 pm]
Vrael -- yeah I feel u
[04:59 pm]
Suicidal Insanity -- If you do 5% a couple of times it is noticible :P
[04:36 pm]
Vrael -- woooooooooooooooooooo!
[04:28 pm]
Suicidal Insanity -- Yay, +5% rendering performance, by not using win32 functions to combine the dirty area but instead doing it by hand xD
[03:35 pm]
O)FaRTy1billion[MM] -- I guess pronogo will be the first to know if there are problems
[03:25 pm]
O)FaRTy1billion[MM] -- 3 minimap sizes, some other thing that seemed related, megatile drawing, loading tilesets, and unloading tilesets
[03:24 pm]
O)FaRTy1billion[MM] -- everyone's worried that SC will break because of 2 billion possible minitiles, except I have a txt file of all of SC's ASM and literally just ctrl+F'd the VX4 address and changed all like 7 functions that came up :P
[03:08 pm]
lil-Inferno -- payne
payne shouted: worst mafia game ever earned SEN's 2017 Award!
blame the players, not the game
[03:07 pm]
lil-Inferno -- Dem0n
Dem0n shouted: Looks like Inferno can't play since every game he's played that has clues ended up including the word "fire" and everyone immediately pointed at him. What a shame.
ya, guess I can't play Pr0nogo's game lmao
[03:02 pm]
Dem0n -- mad
Please log in to shout.

Members Online: Roy, lil-Inferno, Voyager7456, Broflamingo, Wormer, Nekron, KYSXD, NudeRaider, Dem0n, Suicidal Insanity, CecilSunkure, BeatMeistro, KimsKams