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

На главную

## avatar.GetPos()

Возвращает информацию о координатах аватара.

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

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

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

    -- пример:
    local pos = avatar.GetPos()
    LogInfo( "x: ", pos.posX )

См. также: GamePosition

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

CategoryPosition
EventAEMarkPointClicked
EventAstralUnitPosChanged
EventAvatarClientZoneChanged
EventAvatarDirChanged
EventAvatarMapChanged
EventAvatarPosChanged
EventAvatarZoneChanged
EventCameraDirectionChanged
EventObjectDetectFinished
EventObjectDetectorListChanged
EventObjectDetectStarted
EventPartyMemberPositionUpdated
EventProjectedObjectsChanged
EventRaidMemberPositionUpdated
EventSpousePositionUpdated
EventTargetPosChanged
EventTransportPosChanged
EventUnitPosChanged
FunctionAvatarGetDir
FunctionAvatarGetPos
FunctionAvatarIsNavigateToPoint
FunctionAvatarRunAESpell
FunctionCartographerCanNavigateToPoint
FunctionCartographerGetCurrentMapInfo
FunctionCartographerGetCurrentZoneInfo
FunctionCartographerGetMapBlockInfo
FunctionCartographerGetMapBlocks
FunctionCartographerGetObjectGeodata
FunctionCartographerGetQuestGeodata
FunctionCartographerGetQuestObjectiveGeodata
FunctionCartographerGetSosInfo
FunctionCartographerGetZonesMapInfo
FunctionCartographerGetZonesMapLowQuests
FunctionCartographerGetZonesMapQuests
FunctionCartographerIsFinalQuestCompleted
FunctionMissionGetCameraDirection
FunctionObjectGetPos
FunctionTransportGetPosition
GamePosition
Geodata

CategoryLuaApi CategoryFunction CategoryAvatar CategoryPosition

На главную