HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help please...

04-01-2003, 02:08 PM#1
Zwan
I have an odd problem on one of my maps. Upon init the game is spawning a unit in the center of the map, and I believe this is the source of a serious lag bug that has crept up on me.

I have double and triple checked my triggers and cant find anything pointng to this spawn...it's driving me nuts

During the process of the game when the unit dies it will respawn and cause a HUGE lag spike when it does... so I really have to get it taken care of..

If anyone knows of a bug or has a suggestion I'd be grateful..
04-01-2003, 03:30 PM#2
BoddoZerg
Um... try disabling your triggers one by one until the unit stops spawning.

That way you'll know which trigger is causing the problem.
04-01-2003, 10:58 PM#3
Zwan
And I managed to track down the trigger that was causing the spawn, but it seems it's not the cause of my spike.

Ah well, I probably just need a break, been trying to find and eliminate this spike for 2 days and I think my eyes are just lazing over or something.

Thanx for the reply Boddo
04-01-2003, 11:11 PM#4
Guest
Initialization triggers are often the source of problems. Try to change it to make it start after 0.5 seconds in the game. Or, if the unit is made at the start, you may consider adding it to the map instead of through a trigger.

Also, is it a multiplayer map?

Try posting your trigger, it is always interesting to find the reasons behind such problems.
04-02-2003, 12:52 AM#5
Zwan
In the process of responding I had a brainstorm and checked my path nodes, and sure enough I found the problem. I was just looking in the wrong place.

In my Path Folder there was an error in lakeregion01

that read:

Event - unit enters lakeregion01

Action- order all units in (playable map area) owned by (player1(red) to attack-move to (RED KILL)

Basically what was happening is that when units where entering this region the game was ordering every unit on the map to attack move and was causing the spike. I just had to change the (playable map area) field to lakeregion01.

Seems obvious now I guess, thanks for the help all