Room_exists - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
NOTOC
Notation
Description
Gets whether the given room exists or not, and returns the result.
Parameters
- ind, index of the room
Return Values
Returns boolean (true or false) whether the room exists.
Example Call
if (room_exists(room_next)) {
room_goto(room_next);
}
Demonstrates checking whether the next room exists or not, and if so going to that room.