EquipDressSet
Equips the dress set previously saved by SetDress.
Retrieves the saved equipment list and equips each item to its corresponding layer with a DressSpeed delay between operations. The DressSpeed value is clamped to the range 10–10000 ms.
On client versions 7.7.4+ (client version integer ≥ 7007400), uses the built-in EquipItemsSetMacro packet for faster equipping instead of iterating layers manually.
Returns True if all items were successfully equipped. Returns False if the character is disconnected, no dress set is saved, or equipping failed.
DressSavedSet is a synonym for this method.
Надевает комплект экипировки, ранее сохранённый через SetDress.
Получает сохранённый список экипировки и надевает каждый предмет в соответствующий слой с задержкой DressSpeed между операциями. Значение DressSpeed ограничивается диапазоном 10–10000 мс.
На клиентах версии 7.7.4+ (целочисленная версия ≥ 7007400) используется встроенный пакет EquipItemsSetMacro для более быстрого надевания вместо ручного перебора слоёв.
Возвращает True, если все предметы успешно надеты. Возвращает False, если персонаж не подключён, нет сохранённого комплекта или экипирование не удалось.
DressSavedSet — синоним этого метода.
function EquipDressSet: Boolean;
def EquipDressSet() -> bool: ...
begin
DressSpeed := 650;
SetDress;
Wait(1000);
AddToSystemJournal('Undressing...');
Undress;
Wait(1000);
AddToSystemJournal('Equipping saved set...');
if EquipDressSet then
AddToSystemJournal('Dressed successfully')
else
AddToSystemJournal('Dressing failed');
end.
SetDressSpeed(650)
SetDress()
Wait(1000)
AddToSystemJournal('Undressing...')
Undress()
Wait(1000)
AddToSystemJournal('Equipping saved set...')
if EquipDressSet():
AddToSystemJournal('Dressed successfully')
else:
AddToSystemJournal('Dressing failed')
DressSavedSet, SetDress, Undress, Disarm, DressSpeed, Layers