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

На главную

## avatar.BindMountToActionPanel( mountId, index )

Привязывает вызов маунта из конюшни главного игрока к слоту экшен панели.

    -- библиотека
    avatar

    -- объявление:
    function BindMountToActionPanel( mountId, index )

    -- параметры
    mountId: ObjectId - Id маунта из конюшни, привязываемого к слоту
    index: number (int) - индекс слота от 0 до max

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

    -- пример использования
    local mountId = mount.GetMounts[0]
    if mountId then
      BindMountToActionPanel( mountId, 0 )
    end

#### Search: "CategoryLuaApi" "CategoryAction"

EnumActionFailCause
EnumActionResultSpecial
EventActionFailedExploit
EventActionFailedOther
EventActionFailedSpell
EventActionPanelChanged
EventActionPanelElementChanged
EventActionPanelElementEffect
EventActionProcessTerminated
EventActionProgressFinish
EventActionProgressFreeze
EventActionProgressStart
EventActionProgressUpdate
EventActionResultSpecialSpell
EventAEMarkPointClicked
EventAttackResult
EventAvatarDestinyPointsChanged
EventAvatarExperienceChanged
EventAvatarRestedExperienceChanged
EventClientImageHideAll
EventClientImageShow
EventClientMessage
EventContextActionPointStarted
EventContextActionsChanged
EventHealingReceived
EventLootMark
EventMobEvaded
EventTakeItemsFailed
FunctionAvatarBindItemToActionPanel
FunctionAvatarBindMountMetamorphToActionPanel
FunctionAvatarBindMountSkinToActionPanel
FunctionAvatarBindMountToActionPanel
FunctionAvatarBindSpellToActionPanel
FunctionAvatarGetActionInfo
FunctionAvatarGetAttackResult
FunctionAvatarGetContextActions
FunctionAvatarGetMaxActionCount
FunctionAvatarGetPetAggroMode
FunctionAvatarGetPetMoveMode
FunctionAvatarIsPetInCombat
FunctionAvatarPetAttack
FunctionAvatarSetPetAggroMode
FunctionAvatarSetPetMoveMode
FunctionAvatarStopCasting
FunctionAvatarUnBindFromActionPanel

CategoryLuaApi CategoryFunction CategoryAction CategoryAvatar CategoryMount

На главную