Radar
From Vendetta Lua
Revision as of 09:12, 14 January 2012 by Draugath (Talk | contribs) (Added new functions and updated display to use Template:Function)
Functions for miscellaneous radar stuffs.
Contents
- 1 Functions
- 1.1 GetNearestObjectDistance
- 1.2 GetRadarSelectionID
- 1.3 Hide3000mNavpoint
- 1.4 HideRadar
- 1.5 IsObjectOccluded
- 1.6 SetAimDirIcon
- 1.7 SetAimDirIconColor
- 1.8 SetAimDirIconSize
- 1.9 SetDestArrows
- 1.10 SetHUDIcon
- 1.11 SetNavDestinationArrowIconSize
- 1.12 SetNavpointFontHeight
- 1.13 SetRadarSelection
- 1.14 SetRadarSelectionByPoint
- 1.15 SetSelColor
- 1.16 SetViewport
- 1.17 SetWormholeIconSize
- 1.18 Show3000mNavpoint
- 1.19 ShowRadar
Functions
GetNearestObjectDistance
Type | Name | Description |
---|---|---|
number |
GetRadarSelectionID
Type | Name | Description |
---|---|---|
number | nodeid | nodeid of targeted object |
number | objectid | objectid of targeted object |
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
HideRadar
Type | Name | Description |
---|---|---|
nil |
IsObjectOccluded
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
SetAimDirIcon
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
SetAimDirIconColor
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
SetAimDirIconSize
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
SetDestArrows
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
SetHUDIcon
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
SetRadarSelection
Type | Name | Description |
---|---|---|
number | nodeid | nodeid of the object you want to target (2 for most things except ships) |
number | objectid | objectid of the object you want to target. |
Type | Name | Description |
---|---|---|
nil |
SetRadarSelectionByPoint
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
SetSelColor
Type | Name | Description |
---|---|---|
number | r | red component of color (0-255). nil is interpreted as 0 |
number | g | green component |
number | b | blue component |
Type | Name | Description |
---|---|---|
nil |
radar.SetSelColor(255, 0, 0) -- turns the target box red
SetViewport
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
SetWormholeIconSize
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
Type | Name | Description |
---|---|---|
? |
ShowRadar
Type | Name | Description |
---|---|---|
nil |