FetchEntityMaterial()

语法

Result = FetchEntityMaterial(#Entity, #Material [, SubEntity])
概要
Fetch the material associated to the specified #Entity with SetEntityMaterial().

参数

#Entity The entity to use.
#Material The new create material number.
SubEntity (optional) The sub-entity to get the material from. First sub-entity index starts at 0 (representing the main entity).

返回值

Returns nonzero on success and zero on failure.

已支持操作系统

所有

<- EntityZ() - Entity Index - FreeEntity() ->