SetEntityMaterial()

Syntax

SetEntityMaterial(#Entity, MaterialID)
Description
Assign a material to the specified #Entity. An entity can only have one material assigned at once.

'MaterialID' can be easily retrieved with the MaterialID() function.

Supported OS

All

<- SetEntityCollisionFilter() - Entity Index