AINE: Accelerated Interactive Narrator Engine
  • Download
  • References
  • Games
  • Wiki
  • Facebook Twitter
  • Object

    • Character

    • Item

    • Player

  • Name

    currentRoom()

  • Examples

    Player: {

    Event: Enter_Room {
    // Shows a screen message of the current room name when player visits a room for the first time

    if (!currentRoom().isVisited){
    screenMessage(currentRoom().getName())
    currentRoom().isVisited = true;
    }
    }
    }
  • Description

    Returns the room object the object is currently in. For an item object which is being carried it returns currentRoom() of the object it is carried by. Returns null if the object has been removed from the game.
  • Syntax

    • object.currentRoom()

  • Contact
  • Terms of Use
  • GitHub
  • Drakkashi.com

The copyright of all images rendered by me goes to their respective owners.
© 2008 Daniel Svejstrup Christensen