Пользовательские дополнения
На главную
avatar.BindEmoteToActionPanel( emoteId, index )
Привязывает запуск эмоции главного игрока к слоту экшен панели.
-- библиотека
avatar
-- объявление:
function BindEmoteToActionPanel( emoteId, index )
-- параметры
emoteId: ObjectId - Id эмоции, привязываемой к слоту
index: number (int) - индекс слота от 0 до max
-- возвращаемые значения
нет
-- пример использования
local emoteId = mount.GetEmotes[0]
if emoteId then
BindEmoteToActionPanel( emoteId, 0 )
end
Search: "CategoryLuaApi" "CategoryEmotes"
CategoryEmotes
EventEmotesChanged
EventUnitMoodChanged
FunctionAvatarBindEmoteToActionPanel
FunctionAvatarClearMood
FunctionAvatarGetEmoteInfo
FunctionAvatarGetEmotes
FunctionAvatarRunEmote
FunctionUnitGetMoodEmoteId
CategoryLuaApi
CategoryFunction
CategoryAvatar
CategoryEmotes
На главную