Legend of Grimrock > Obecné diskuze > Detaily tématu
Martijn 8. led. 2013 v 9.38 dop.
One way doors.
Is there a way to make one way doors. Like invisible passages that are hidden until you interact with them from the right side and from the other side it looks like a wall?
Zobrazeno 1-2 z 2 komentářů
< >
ChevyNoel 8. led. 2013 v 8.34 odp. 
I think you can. I haven't really used the editor, so there could be a significantly better way of doing this, but I imagine you could create a custom asset that looks like a wall and blocks or does not block movement depending on what you want. You could place lua scripts that trigger spawn(object, level, x, y, facing, [id]) or destroy the object based on which side of the wall the player is on. If there was a square hallway with the wall at 12:00, visible from the right side, then you would check if the object exists, and create it if it doesn't exist when the player crosses 3:00 (before rounding the corner). If the player crosses 9:00, then you would check if the object exists, and destroy it if it does.
Martijn 9. led. 2013 v 4.08 dop. 
Thank you for your answer.
Zobrazeno 1-2 z 2 komentářů
< >
Na stránku: 15 30 50
Datum odeslání: 8. led. 2013 v 9.38 dop.
Počet příspěvků: 2