Jump to content
Eviles

Area search exceed preset requeriments

Recommended Posts

Hello guys!

I'm been trying to summon a wave of monsters on a map using a loop, but the following error on title appears on a box after the monsters are summoned. After the error appears i'm unable to move on map and error keep appearing even if i click on ok... any idea how to solve that? Thanks!

 

function map_copy_run_mapname(map_copy)
	local Survivor					= GetMapActivePlayer(map_copy)
	local Hour,Minute,Second			= GetOsTime()
	if Minute == 1 then
		if monster_wave01 == 0 then
			local xLow,yLow 		= 80,480
			local xHigh,yHigh 		= 138,535
			local mobNum			= 30
			for i = 1, mobNum do
				local Monster		= CreateChaEx(1324, math.random(xLow,xHigh) * 100, math.random(yLow,yHigh) * 100, 90, 60, map_copy)
				SetChaLifeTime(Monster, 299000)
			end
			monster_wave01			= monster_wave01 + 1
			monster_waveNum			= monster_waveNum + 1
		end
	end
end

 


lelouch_signature_by_vahntheknight-d4uafwj.png

Share this post


Link to post
Share on other sites

Hello Satan,

 

sorry I don't know the answer, but I tried the loop with small variation in one of my maps and could not reproduce this error, it worked correct. So maybe some other part of code triggers this error?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...