WowAddons

World of Warcraft Forever API · C_Navigation.md, for your AI

C_Navigation

7 functions, 3 events, 1 tables, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

C_Navigation.GetDistance

distance = C_Navigation.GetDistance()

Returns

distancenumber

C_Navigation.GetFrame

frame = C_Navigation.GetFrame()

Returns

frameScriptRegion may be nil

C_Navigation.GetNearestPartyMemberToken

unitToken = C_Navigation.GetNearestPartyMemberToken()

Returns

unitTokencstring

C_Navigation.GetNextWaypointForMap

x, y, waypointDescription = C_Navigation.GetNextWaypointForMap(uiMapID)

May return nothing.

Arguments

uiMapIDnumber

Returns

xnumber
ynumber
waypointDescriptionstring

C_Navigation.GetTargetState

state = C_Navigation.GetTargetState()

Returns

stateNavigationState

C_Navigation.HasValidScreenPosition

hasValidScreenPosition = C_Navigation.HasValidScreenPosition()

Returns

hasValidScreenPositionbool

C_Navigation.WasClampedToScreen

wasClamped = C_Navigation.WasClampedToScreen()

Returns

wasClampedbool

Events

Tables

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows