Get Current Room Icon Get Current Room

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 Action

Arguments:

ArgumentDescription
TargetThe target variable to store the returned room index

 

Example:

Get Current Room ActionThe 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.