HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Limited loops during map initialization?

02-08-2009, 12:53 AM#1
ShadowWolf
Is there a maximum number of loops allowed to run with the event map initialization? I had a loop set to run 1000 times, but it would only accomplish about 750 on average. I fixed it by setting it to a time elapsed event, but I'm just curious as to the workings of this?
02-08-2009, 01:17 AM#2
Vexorian
No, there's a limited number of operations you can run in the init thread, my tip: stop using scopes, begin using libraries, because their initializers use another thread.
02-08-2009, 02:02 AM#3
ShadowWolf
Hmm. I think your tip instead should be
"Get off your ass and learn JASS already."

Thanks for the clarification that it is operations though. Someone needs to make a pocket size version of Vexorian to carry around and answer questions.
02-08-2009, 11:43 PM#4
Pyrogasm
Quote:
Originally Posted by ShadowWolf
Someone needs to make a pocket size version of Vexorian to carry around and answer questions.
It's called IRC.
02-09-2009, 01:53 AM#5
MaD[Lion]
when u have too many gui triggers things also wont run. And ye creating new threads will alow more operations.