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

    • Character

    • Player

    • Room

  • Name

    hasItem()

  • Examples

    Room: prisonRoom{
    isLocked: true

    Event [Nav_Click, true, true] {
    // Overrides the default Nav_Click event

    // If the room is not locked or player has prisonRoomKey
    // Move the player to this room

    if (!isLocked || player.hasItem(prisonRoomKey))

    isLocked = false
    player.moveTo(this)
    }
    else
    showTooltip("Room is locked")
    // Shows the parsed text in a tooltip window
    }
    }
  • Description

    Returns a boolean value of whether the object has an item
  • Syntax

    • object.hasItem(item)
  • Related

    • dropItem()

    • dropItems()

    • giveItem()

    • Item

    • items

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

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