• Tutorials

  • Home
  • OnReadyCombatEquipment

    In the combat main menu is the option 'READY'. When the combatant selects this option we call any scripts named 'OnReadyEquipmentSet'. We call it twice with Parameter [5] indicating what is to be done.

    Parameters

    Parameter [5] = if blank, the script is expected to return a list of of the names of the available equipment sets with a slash between the names. For example: "Ranged/Melee/Magical".
    If hook parameter 5 is non-blank then it is the name of the equipment set that the player has chosen. For example: "Melee". This second call will not occur if the player cancels the selection.

    Context

    Character