New targeting system commands - Hotride/OrionUO GitHub Wiki

targeting this way works faster because there's no target awaiting time after any action request. server receives action to do and target for this action with in a single packet.

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


void Orion.BandageTarget('serial');

Apply bandage to target by serial.


void Orion.CastTarget('nameOrIndex', 'serial');

Cast a spell on target by serial.


void Orion.UseSkillTarget('nameOrIndex', 'serial');

Use a skill on target by serial.