StartEntityHighlight

From Nomad DB
Revision as of 20:20, 16 April 2020 by Cobra (talk | contribs)

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

Example of available highlight colors on the player
ID Color
0 White
1 Yellow
2 Red
3 Blue
4 Green
5 Purple
6 Orange

Related Pages