Page 1 of 1

Help me find the cause of the drone lag (FIXED)

Posted: 13 Mar 2011, 07:23
by oksnoop2
So every game. I play as the drones as of recent, about 6 minutes in the game comes to a freezing halt. I'm just asking if people would be so kind as to take 10 minutes and play with them and see if you can pinpoint this game killing slowdown.

EDIT: Pretty sure it's been nailed down.

Code: Select all

	function script.Create(unitID)
		while (true) do
			Move(lbody, y_axis, 2, 0.5)
			Move(rbody, y_axis, -2, 0.5)

			WaitForMove(lbody, y_axis)
			WaitForMove(rbody, y_axis)

			Move(lbody, y_axis, -2, 0.5)
			Move(rbody, y_axis, 2, 0.5)

			WaitForMove(lbody, y_axis)
			WaitForMove(rbody, y_axis)
		end
	end
I guess kdiairdrone needs to take a sleep.

Re: Help me find the cause of the drone lag (FIXED)

Posted: 13 Mar 2011, 08:46
by SanadaUjiosan
Indeed. Sloppy animation on my part.

Woo for forgetting things.