Skip to main content

ExtendedItemSetProperty

Callable


  • Sets a typed item's type and properties to the option provided.


    Parameters

    • C: Character

      The character on whom the item is equipped

    • item: Item

      The item whose type to set

    • previousProperty: ItemProperties

      The typed item options for the item

    • newProperty: ItemProperties

      The option to set

    • push: boolean = false

      Whether to push to changes to the server

    • refresh: boolean = true

      Whether to refresh the character. This should generally be true, with custom script hooks being a potential exception.

    Returns void

    Nothing