🏓MiniMap
Last updated
Last updated
Name | Type | Description |
---|---|---|
Pings on the minimap.
Name | Type | Description |
---|---|---|
Draws a line on the minimap.
number
, y: number
, initial: boolean
, clientside: boolean
): nil
Name | Type | Description |
---|---|---|
Draws a line on the minimap.
Vector
, r [?]
: integer
, g [?]
: integer
, b [?]
: integer
, a [?]
: integer
, size [?]
: number
): nil
Draws a circle on the minimap.
string
, pos: Vector
, r [?]
: integer
, g [?]
: integer
, b [?]
: integer
, a [?]
: integer
, size [?]
: number
): nil
Draws a hero icon on the minimap.
string
, pos: Vector
, r [?]
: integer
, g [?]
: integer
, b [?]
: integer
, a [?]
: integer
, size [?]
: number
): nil
Draws a icon on the minimap.
Vector
Returns world position the mouse on the minimap, if the mouse is not on the minimap, it will return (0,0,0).
boolean
Returns true
if the mouse is on the minimap.
Returns world position from minimap position. The same as GetMousePosInWorld
, but you can pass any position on screen, not only mouse position.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
pos
world position to ping
type
ping type
pos
world position to draw line to
initial
boolean
start a new line, otherwise continue the last one
clientside
boolean
draw only for local player
x
number
x world position to draw line
y
number
y world position to draw line
initial
boolean
start a new line, otherwise continue the last one
clientside
boolean
draw only for local player
pos
world position to draw circle
r [?]
integer
red color (default: 255)
g [?]
integer
green color (default: 255)
b [?]
integer
blue color (default: 255)
a [?]
integer
alpha color (default: 255)
size [?]
number
circle size (default: 800)
unitName
string
unit name to draw icon. Can get it from NPC.GetUnitName
pos
world position to draw icon
r [?]
integer
red color (default: 255)
g [?]
integer
green color (default: 255)
b [?]
integer
blue color (default: 255)
a [?]
integer
alpha color (default: 255)
size [?]
number
icon size (default: 800)
iconName
string
could get it from game\dota\pak01_dir.vpk (scripts\mod_textures.txt).
pos
world position to draw icon
r [?]
integer
red color (default: 255)
g [?]
integer
green color (default: 255)
b [?]
integer
blue color (default: 255)
a [?]
integer
alpha color (default: 255)
size [?]
number
icon size (default: 800)
ScreenX
integer
ScreenY
integer