So I have a simple furniture system that’s basically complete.
When the player places down a piece of furniture, the game runs this precise set of commands.
>Set Furniture Variable to Table
Set Table to “Through” Mode
Move Player Back 1 and Turn On Switch 150, Ignore If Can’t Move
(If 150 is Off…)
Turn Player Up and Move Player Back 1 and Turn On Switch 150, Ignore If Can’t Move, Wait
(If 150 is Off…)
Turn Player and Move Player Back 1 and Turn On Switch 150, Ignore If Can’t Move, Wait
(If 150 is Off…)
Turn Player Left and Move Player Back 1 and Turn On Switch 150, Ignore If Can’t Move, Wait
(If 150 is Off…)
Turn Player Right and Move Player Back 1 and Turn On Switch 150, Ignore If Can’t Move, Wait
(If 150 is Off…)
Teleport Player to room entrance
>Set Table to “Not Through” Mode
(If 150 is On…)
Turn Off Switch 150
Basically, this places the furniture down, makes it Through, then tries to move the player back 1 step in all directions so they’re not stuck inside the furniture. If the player can’t move, like they’ve boxed themself into a corner, they will be teleported to where its clear.
However, the “Ignore if Can’t Move” part of the commands doesn’t seem to be working. If the player can’t move, it turns on Switch 150 regardless and nothing happens. Help?