EntityMaterial()

Syntax

EntityMaterial(#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

<- EntityLookAt() - Entity Index - EntityPhysicBody() ->