From Stealth Client

Jump to: navigation, search

Object_Move

DragItem

function DragItem(ItemID:Cardinal; Count:Integer):Boolean

Get the thing in hand(the "finger"). F-function returns false, if:- you already have what is in the hands of aytim - aytim not found(eg if you forgot to open the container in advance, which is aytim). If Count>possible, then pick up a possible count. If Count = 0, then take the whole pile.

Important: Please note that this function takes the piano is the subject in hand, and not mix it into another container.

Also do not forget that the f-function should only be used in conjunction with DropItem.

Drop

function Drop(ItemID:Cardinal; Count:Integer; X, Y, Z:Integer):Boolean

To throw an object with the specified ID(ItemID) and the number(Count) of land with coordinates X, Y and Z.

Important:The F-function is based on a bunch of F-functions:DragItem() + DropItem(), so if you want to understand how this will work - examine carefully the work of faculty functions Doc:Api/DragItem, Doc:Api/DropItem.

See also: Doc:Api/DragItem, Doc:Api/DropItem

DropDelay

DropDelay : Cardinal

Delay after performing Doc:Api/DropItem.

I remind you that any grab, drop it or moveitem:

  • dragitem
  • dropitem

Value drops below 50 and will not rise above 10000.

DropHere

function DropHere(ItemID:Cardinal):Boolean

To throw an object with the specified ID(ItemID) and the number(Count) on the ground under his feet.

Important:The F-function is based on a bunch of F-functions:DragItem() + DropItem(), so if you want to understand how this will work - examine carefully the work of faculty functions Doc:Api/DragItem, Doc:Api/DropItem.

'See also:' Doc:Api/DragItem, Doc:Api/DropItem

DropItem

function DropItem(MoveIntoID:Cardinal; X, Y, Z:Integer):Boolean

To throw the thing out of hand in the place you specify.

F-function will return false if you do not have anything in his hands.

If MoveIntoID = Ground, then throw on the ground with the specified coordinates.

If MoveIntoID does not exist, then throw in the backpack of your character.

In the case of the "ground" work relative coordinates.

If MoveIntoID - container, then throw it in a container.

If MoveIntoID - aytim, the client will attempt to dock aytimy.

In the case of zero-point coordinates - the client will try to substitute the right.

Important:Please note that the f-function simply throws an object out of the hands, and not mix it into another container.

Also do not forget that the f-function should only be used in conjunction with DragItem.

EmptyContainer

function EmptyContainer(Container,DestContainer : Cardinal; delay_ms : Word) : Boolean;

Grab

function Grab(ItemID:Cardinal; Count:Integer):Boolean

Move the object with the specified ID(ItemID) and the number(Count) in the backpack of the character. Important:The F-function is based on a bunch of F-functions:DragItem() + DropItem(), so if you want to understand how this will work - examine carefully the work of faculty functions Doc:Api/DragItem and Doc:Api/DropItem.

See also: Doc:Api/DragItem, Doc:Api/DropItem

MoveItem

function MoveItem(ItemID:Cardinal; Count:Integer; MoveIntoID:Cardinal; X, Y, Z:Integer):Boolean

Move the object.

Important:The F-function is based on a bunch of F-functions:DragItem() + DropItem(), so if you want to understand how this will work - examine carefully the work of faculty functions Doc:Api/DragItem, Doc:Api/DropItem.

See also: Doc:Api/DragItem, Doc:Api/DropItem

MoveItems

function MoveItems(Container:Cardinal; ItemsType:Word; ItemsColor:Word; MoveIntoID:Cardinal; X, Y, Z:Integer; DelayMS:Integer):Boolean

Move to delay DelayMS objects ItemsType type of container, Container container MoveIntoID

SetCatchBag

function SetCatchBag(ObjID : Cardinal) : Byte;

UnsetCatchBag

procedure UnsetCatchBag;