• Tutorials

  • Home
  • CanReady

    When any items is 'Readied' or 'UnReadied' we search the item for Special Abilities scripts with names CanReady. For example, when an Orc readies a ring, we search the ring for any Special Abilities scripts named CanReady.

    Return Value

    The default action is to allow the item to be readied if no other item is currently readied at the same body location.. If the script returns a non-empty string starting with anything except 'Y', then the item cannot be readied.

    Parameters

    Parameter [5] = the number of items currently 'Readied' at the same body location.
    Parameter [6] = A message to be displayed. For example, when a Dagger is readied, you might like a message to say “Don't Cut Yourself”. This message will be displayed regardless of the script's return value.

    Context

    Character
    Item