Skip to content

SetGameEntityIconOverride

14.24

Class Documentation

Edit documentation

A game entity block that replaces the entity icon of Target with Icon, then sets whether it is shown.

The client rebuilds the icon from the GameEntityIconData: its texture, the colorblind texture when colorblind mode is on, its color and its size, scaled to the screen. If the icon data has a team override for the team of the local player, that override applies.

The block raises a script error if Icon is not set, if the entity has no icon component, or if the component has no icon.

Properties