WowAddons

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

RaidMarkers (global functions)

9 functions, 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

CanBeRaidTarget

result = CanBeRaidTarget(target)

Arguments

targetUnitToken

Returns

resultbool

ClearRaidMarker

ClearRaidMarker([raidMarkerIndex])

Arguments

raidMarkerIndexluaIndex default "MAX_RAID_MARKERS"

GetNextAvailableRaidTargetMarkerIndex

nextAvailableRaidTargetMarkerIndex = GetNextAvailableRaidTargetMarkerIndex(startIndex, [reverseSearch], [wrapSearch], [treatDeadNonFriendlyAsAvailable])

Arguments

startIndexluaIndex
reverseSearchbool default false
wrapSearchbool default false
treatDeadNonFriendlyAsAvailablebool default false

Returns

nextAvailableRaidTargetMarkerIndexluaIndex

GetRaidTargetIndex

result = GetRaidTargetIndex(target)

Its returns can be secret values (in some instances and fights): guard them before any arithmetic.

Arguments

targetUnitToken

Returns

resultluaIndex may be nil

IsRaidMarkerActive

result = IsRaidMarkerActive(index)

Arguments

indexluaIndex

Returns

resultbool

IsRaidMarkerSystemEnabled

enabled = IsRaidMarkerSystemEnabled()

Returns

enabledbool

PlaceRaidMarker

PlaceRaidMarker(index, [token])

Arguments

indexluaIndex
tokencstring may be nil

RemoveRaidTargets

RemoveRaidTargets()

Removes all assigned raid target markers.

SetRaidTarget

SetRaidTarget(target, userIndex)

Arguments

targetUnitToken
userIndexluaIndex

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