Equipt
Equips the first item matching type ObjType from the backpack to the specified equipment Layer.
Returns True if the item was successfully equipped, False if the character is disconnected, no item of the given type was found, or the operation failed.
Надевает первый найденный предмет с типом ObjType из рюкзака на указанный слой экипировки Layer.
Возвращает True при успешной экипировке, False, если персонаж не подключён, предмет не найден, или операция не удалась.
function Equipt(Layer: Byte; ObjType: Word): Boolean;
Parameters:
- Layer — equipment layer (see ConstantsAndEnums). Helper methods that return layer values are documented separately in Layers.
- ObjType — graphic (type) of the item to equip.
def Equipt(layer: int, obj_type: int) -> bool: ...
begin
UnEquip(RhandLayer);
Wait(500);
Equipt(RhandLayer, $13B6); // equip a scimitar by type
end.
from py_astealth.stealth_enums import Layer
UnEquip(Layer.RhandLayer)
Wait(500)
Equipt(Layer.RhandLayer, 0x13B6)