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

    Room

  • Name

    allObjects()

  • Examples

    Room: elevator1
    {

    Event: "Go to 2nd floor" {
    // When the elevator goes to 2nd floor, all items are moved to elevator2

    foreach (allObjects as obj){
    if (obj != this)
    obj.moveTo(elevator2)
    }
    }
    }

    Room: elevator2
    {

    Event: "Go to 1st floor" {
    // When the elevator goes to 1st floor, all items are moved to elevator1

    foreach (allObjects as obj){
    if (obj != this)
    obj.moveTo(elevator1)
    }
    }
    }
  • Description

    Returns a list of all object present in the room, including the room and items carried by other objects in the room.
  • Syntax

    • room.allObjects()
  • Related

    • chars

    • items

    • getItems()

    • getChars()

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

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