Пользовательские дополнения

На главную


lifestyle.SetActivePreset( presetIndex )

Устанавливает новый активный пресета стиля. При этом главный игрок переоденет необходимые предметы стиля

-- библиотека:
lifestyle

-- объявление:
function SetActivePreset()

-- параметры:
number (int) - индекс пресета, начиная с 0

-- возвращаемые значения:
нет

-- пример:
if lifestyle.CanChangePreset() then
  lifestyle.SetActivePreset( 3 )
end

Связанные страницы: "CategoryLuaApi" "CategoryLifestyle"

CategoryLifestyle
EventEquipmentLifestyleChanged
FunctionLifestyleCanChangePreset
FunctionLifestyleGetActivePreset
FunctionLifestyleGetPreset
FunctionLifestyleGetPresetsCount
FunctionLifestyleGetSlots
FunctionLifestyleSetActivePreset


CategoryLuaApi CategoryFunction CategoryLifestyle

На главную