HIDE
[[HIDE(coordinate_cella)]]
This action hides a board element (furniture element, normal or secret door, or a block) from the specified cell. The element can be made visible again with the action [[SHOW(coordinate_cella)]]
.
- Parameters: (coordinate_cell)
- Example:
{[[(A), ON_ENTER_ROOM:REPEAT]] As you enter the room you notice a lever in the middle of it. [[IF: GET(block) <> 1]] [[ASK: Do you want to pull the lever?]] You hear a noise and the block moves under the floor. [[SET(block, 1)]] [[HIDE(C5)]] [[ELSE]] Nothing happens. [[END]] [[ENDIF]]}
REPEAT
option is used, the action will be repeated every time a hero enters the room. Afterwards, if the "block" variable has a value other than 1, a question will be triggered: "Do you want to pull the lever?" If the response is yes, then the "block" variable will be set to 1, and the block will be hidden using the HIDE
action. Upon further entry into the room (after the lever is pulled), the question will no longer appear.