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() command.

Supported OS

Windows, Linux

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