HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Non-periodic way to have a trigger fire on multiboard maxi/minimize

05-27-2004, 12:22 AM#1
Narwanza
The name says it all. Does anyone know a way?
05-27-2004, 07:01 AM#2
AIAndy
I could not find any multiboard events in common.j so probably not.
05-27-2004, 01:11 PM#3
Narwanza
Danget, I was hoping not to use periodics as they lag when too many are used. Also, this one would be a visual periodic, so it may lag. Argh.......
05-27-2004, 02:10 PM#4
Cubasis
Nah, not neccessarely.

You just have to balance out your periodics and make them efficient. I have 5 periodics triggers running every 0.05 second. Still I've yet to hear anyone complain about chunkyness in-game or anything.

~Cubasis
05-27-2004, 04:12 PM#5
Narwanza
I know it probably won't lag because I have about 6 - 7 periodics running at once in my TD and no one every complains about chunkiness, but it would have been nice to eliminate this one because it is going to be for an AOS with all triggered spells bascially, which could mean anywhere from 10 - 15 or even more periodics could be running at once between spells and game stuff, and that would possibly cause lag.
05-27-2004, 05:14 PM#6
DaKaN
dont be too afraid of periodics, you can get a high number of them running at 0.1 seconds without seeing a difference in processing power
05-27-2004, 08:00 PM#7
Vexorian
Actually a periodic event of 0.01 checking if multiboard is minimized, shouldn't really cause too much lag, periodic events were identified as causes of lag but I am almost sure it was because people were using conditions or actions with a lot of leaks.
05-27-2004, 09:04 PM#8
DaKaN
Most defantly, or doing alot of calculations

but things like every .01 seconds move a unit to a rect, causes a leak every 0.01 seconds, 100 leaks a second, 600 leaks a min, yea it adds up
05-28-2004, 02:42 AM#9
Narwanza
I know that this won't lag, and the map probably won't, but every less periodic means a tiny less lag. I try to preserve memory as much as possible. Oh, and DaKaN, don't worry, i'm not afraid of them ;).