Find Property object class - Hotride/OrionUO GitHub Wiki

Command format:

ReturnType NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);

  • ReturnType - the return value of the function (void - the function returns nothing);

  • NameSpace - the scope of the function;

  • name - the name of the function;

  • requiredParameters - required parameters;

  • optionalParameters - optional parameters, the default value is indicated after the = sign


  • Create new property object - new FindItemProperty('name', [minValue=0], [maxValue=100])

Create a new object property object for the search with the specified parameters

Result: A new object of type FindItemPropertyObject.


String prop.Name();

Результат: Property name


int prop.MinValue();

Результат: The minimum value to search.


int prop.MaxValue();

Результат: The maximum value to search.


void prop.SetName('name');

Set property name.


void prop.SetMinValue(value);

Change the minimum value of a property to value.


void prop.SetMaxValue(value);

Change the maximum value of a property to value.