Target
¶
Methods¶
- Target.AttackTargetFromList(target_name) → Void¶
target_name:
String
Attack Target from gui filter selector, in Targetting tab.
- Target.Cancel() → Void¶
Cancel the current target.
- Target.ClearLast() → Void¶
Clear the last target.
- Target.ClearLastandQueue() → Void¶
Clear last target and target queue.
- Target.ClearQueue() → Void¶
Clear Queue Target.
- Target.GetLast() → Int32¶
Get serial number of last target
- Target.GetLastAttack() → Int32¶
Get serial number of last attack target
target_name:
String
Name of the target filter.
Get Mobile object from GUI filter selector, in Targetting tab.
- Target.HasTarget() → Boolean¶
Get status if have in-game cursor has target shape.
- Target.Last() → Void¶
Execute the target on the last Item or Mobile targeted.
- Target.LastQueued() → Void¶
Enqueue the next target on the last Item or Mobile targeted.
- Target.PerformTargetFromList(target_name) → Void¶
target_name:
String
Name of the target filter.
Execute Target from GUI filter selector, in Targetting tab.
message:
String
Hint on what to select.color:
Int32
Color of the message. (default: 945, gray)
Prompt a target in-game, wait for the Player to select the ground. Can also specific a text message for prompt.
- Target.PromptTarget(message, color) → Int32¶
message:
String
Hint on what to select.color:
Int32
Color of the message. (default: 945, gray)
Prompt a target in-game, wait for the Player to select an Item or a Mobile. Can also specific a text message for prompt.
- Target.Self() → Void¶
Execute the target on the Player.
- Target.SelfQueued() → Void¶
Enqueue the next target on the Player.
- Target.SetLast(serial, wait) → Void¶
serial:
Int32
Serial of the Mobile.wait:
Boolean
Wait confirmation from the server.
Set the last target to specific mobile, using the serial.
- Target.SetLast(mob) → Void¶
mob:
Mobile
- Target.SetLastTargetFromList(target_name) → Void¶
target_name:
String
Name of the target filter.
Set Last Target from GUI filter selector, in Targetting tab.
- Target.TargetExecute(item) → Void¶
item:
Item
Item object to Target.
- Target.TargetExecute(serial) → Void¶
serial:
Int32
Serial of the Target
- Target.TargetExecute(x, y, z) → Void¶
x:
Int32
y:
Int32
z:
Int32
- Target.TargetExecute(mobile) → Void¶
mobile:
Mobile
Mobile object to Target.
- Target.TargetExecute(x, y, z, StaticID) → Void¶
x:
Int32
X coordinate.y:
Int32
Y coordinate.z:
Int32
Z coordinate.StaticID:
Int32
ID of Land/Tile
Execute target on specific serial, item, mobile, X Y Z point.
- Target.TargetExecuteRelative(serial, offset) → Void¶
serial:
Int32
Serial of the mobileoffset:
Int32
- Target.TargetExecuteRelative(mobile, offset) → Void¶
mobile:
Mobile
Mobile object to target.offset:
Int32
Distance from the target.
Execute target on specific land point with offset distance from Mobile. Distance is calculated by target Mobile.Direction.
- Target.TargetResource(item_serial, resource_number) → Void¶
item_serial:
Int32
Item object to use.- resource_number:
Int32
Resource as standard name or custom number 0: ore 1: sand 2: wood 3: graves 4: red_mushrooms n: custom
- resource_number:
Find and target a resource using the specified item.
- Target.TargetResource(item, resouce_name) → Void¶
item:
Item
Item object to use.resouce_name:
String
- Target.TargetResource(item, resoruce_number) → Void¶
item:
Item
resoruce_number:
Int32
- Target.TargetResource(item_serial, resource_name) → Void¶
item_serial:
Int32
resource_name:
String
- Target.WaitForTarget(delay, noshow) → Boolean¶
delay:
Int32
Maximum amount to wait, in millisecondsnoshow:
Boolean
Pevent the cursor to display the target.
Wait for the cursor to show the target, pause the script for a maximum amount of time. and optional flag True or False. True Not show cursor, false show it