Get Current Room


Description

This action will return the unique room index value for the current room. You need to supply a target variable to hold the returned value, and this variable can be flagged as a temporary local variable.


Action Syntax:

Get Current Room Syntax


Arguments:

Argument Description
Target The target variable to store the returned room index


Example:

Restart Room Example
The above action block code gets the current room index value and then uses a Switch action to check the room and set a global variable depending on the result.