StartEntityHighlight
From Nomad DB
Revision as of 19:30, 16 April 2020 by Wasdennnoch (talk | contribs) (Created page with "Outlines an entity with a chosen color. If that entity is a player and the player enters a vehicle the vehicle is highlighted instead. Outlines can be seen through obstaces in...")
Outlines an entity with a chosen color. If that entity is a player and the player enters a vehicle the vehicle is highlighted instead. Outlines can be seen through obstaces in the way of sight.
Syntax
StartEntityHighlight(entityId, colorId)
- entityId (string): The ID of the entity to highlight
- colorId (string): The color to use for the highlight
Example
Highlights the own player in blue.
StartEntityHighlight(GetLocalPlayerEntityId(), 3)
Parameters
Colors
ID | Color |
---|---|
0 | White |
1 | Yellow |
2 | Red |
3 | Blue |
4 | Green |
5 | Purple |
6 | Orange |