omnilight only works one day

Level 7
Joined
Feb 20, 2016
Messages
275
I have 2 omnilight triggers, one for day and one for night. They work the first day but they next days they stop working

day off.JPG


day on.JPG
 
Level 29
Joined
Feb 27, 2007
Messages
4,225
The first trigger is only ever run once... at map init... because that's the only event it has. Add a second event to it:
  • Omnilight Day Off
    • Events
      • Map Initialization
      • Game - The in-game time becomes equal to 6.00
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 8 do (Actions)
        • Loop - Actions
          • Player - Disable Omnilight Yellow for Player((Integer A))
 
Hey I happened to pass over this thread and be mildly interested -- is there any chance you could post information about what is in your ability editor for this Omnilight ability? I'm not certain that I totally understand the original goal.

If this ability is one that truly emits an omnilight around a particular unit, you might have another issue here based on the limit of the number of light emitters that can show in the game at a time. It was not clear to me if you were having a problem like that. I don't have that much information about your original problem (based on what is in your original post).

My first post on Hive in 2008 about 14 years ago was on this same topic, and as far as I know it was not ever really exactly solved. There are weird limitations to this game engine. So I was curious if you were having a problem like that.
 
Top