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

    Room

  • Name

    getChars()

  • Examples

    Player:
    {

    Event: "Attack" {
    // When the player attacks in a room, every character makes a resolve
    // If no characters are present, displays a warning message.

    this.i = 0

    foreach (Character in currentRoom().getChars() as char){
    char.trigger("Resolve")
    i++
    }

    if (i == 0)
    screenMessage("There is nothing to attack!")
    }
    }
  • Description

    Returns a list of all characters in the room.
  • Syntax

    • room.getChars()
  • Related

    • Character

    • chars

    • setChars()

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

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