how the gate sequence works.

Post, Download, and Discuss Custom Adventures.
Post Reply
User avatar
nasko222
Rainbow Master
Posts: 589
Joined: Sat Jul 07, 2018 1:22 pm

how the gate sequence works.

Post by nasko222 » Mon Oct 12, 2020 10:55 am

I did some tests recently about which gate opens first when you use a key. Some guys told me its clockwise, other guys told me its counter clockwise.

The answer is not that simple

Apperantly, In the game code. when you use a key, the game starts to check the array of objects and opens the first one that passes the restrictions
(in our case, the gate id) (for example red subcolor1 will be 501). That means that if you start placing doors from left to right. And if you use the key. it will always open the door to the left first, hence you placed that door first in the editor. So to answer this question, it is completely customizable.

I made a test level to test those stuff out. In the editor you can't really see, but note that the gates are placed in this order as well. The problem comes if you delete a gate after you place a hundred of objects. Then you have to do the whole array thingey again (put all the doors again)
You do not have the required permissions to view the files attached to this post.
Post Reply