StartEntityHighlight
From Nomad DB
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 |