Window order problem on Cheapo

Started by Proxima, December 04, 2004, 12:37:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Proxima

I've just done a Cheapo level with four windows, so naturally I edited them and set the "window order" parameter in the order I wanted them, 1, 2, 3, 4. But when I play the level, the lemmings come out of the windows in the order 1, 3, 2, 4! This isn't the already known replay bug -- this was the first time I played the level, not using the replay.

I tried setting the windows to the order 1, 3, 2, 4 to see if this would make them come out in the desired order -- but they still came out in that order. I then tried resetting it to my desired order -- still no difference.

In desperation, I deleted all four windows and replaced them. The window order paramaters showed the desired values, but the order the lemmings came out was now 1, 4, 3, 2!!!

What might be causing this? And what can I do?

Essman

Quote from: Ahribar  link=1102163869/0#0 date=1102163869I've just done a Cheapo level with four windows, so naturally I edited them and set the "window order" parameter in the order I wanted them, 1, 2, 3, 4. But when I play the level, the lemmings come out of the windows in the order 1, 3, 2, 4!
I suggest that you move the windows around once you find out the order that they lemmings fall out of them.
I looked at the code for the window ordering and it looks like it should work fine, it's very short and simple. But obviously it doesn't work fine. Oh well.

Proxima

Never mind -- moving them worked, so the level now works, and that's the main thing!  :) Thanks.

namida

As far as I'm aware, if you number the first one 1, and then the rest descending from the maximum, they'll come out in the order you want.

Say you have window 1, 2, 3, 4 positioned in a row like that, and you want them to come out from left to right.

You'd number the windows:
1, 4, 3, 2
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)