Difference between revisions of "StartEntityHighlight"
From Nomad DB
SpeckBomber (talk | contribs) |
|||
Line 1: | Line 1: | ||
+ | {{Page_WD2}} | ||
Outlines an entity the specified color. If the specified entity is a pawn, its current vehicle will be outlined instead. Outlines can be seen through obstaces in the line of sight. | Outlines an entity the specified color. If the specified entity is a pawn, its current vehicle will be outlined instead. Outlines can be seen through obstaces in the line of sight. | ||
Latest revision as of 20:37, 27 October 2020
Outlines an entity the specified color. If the specified entity is a pawn, its current vehicle will be outlined instead. Outlines can be seen through obstaces in the line of sight.
Syntax
StartEntityHighlight(entityId, colorId)
- entityId (string): The ID of the entity to be highlighted
- colorId (string): The color to use for the highlight
Example
Creates a blue outline on the local player.
StartEntityHighlight(GetLocalPlayerEntityId(), 3)
Parameters
Colors
ID | Color |
---|---|
0 | White |
1 | Yellow |
2 | Red |
3 | Blue |
4 | Green |
5 | Purple |
6 | Orange |