Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

RoadMap

Globals

MAX_SKILL_MAP_EFFECT_COUNT

integer

Classes

Class: RoadMap

Extends Widget, Map

RoadMap

A RoadMap widget represents a minimap, capable of showing NPCs, pings, and other map-related elements.

Method: InitMapData

(method) RoadMap:InitMapData()

Initializes map data. Requires Map:ReloadAllInfo.

Method: SetRoadMapNpc

(method) RoadMap:SetRoadMapNpc(isShow: boolean)

Shows or hides NPCs on the RoadMap.

@param isShowtrue to show NPCs, false to hide. (default: false)

Method: SetMapSize

(method) RoadMap:SetMapSize(radioValue: number)

Sets the size of the RoadMap.

@param radioValue — The size value for the map.

Method: IsPingMode

(method) RoadMap:IsPingMode()
  -> pingMode: boolean

Checks if the RoadMap is in ping mode.

@return pingModetrue if ping mode is active, false otherwise. (default: false)

Method: ShowLeaderPing

(method) RoadMap:ShowLeaderPing(isShow: boolean)

Shows or hides the leader ping on the RoadMap.

@param isShowtrue to show the leader ping, false to hide.