GetMeshPath
The path a mesh key stands for.
Syntax
Section titled “Syntax”GetMeshPath(key)| Parameter | Type | |
|---|---|---|
key |
string | number | the mesh’s id, file name or path |
Returns
Section titled “Returns”string - the path (objects/manmade/.../barrel_a.cgf); nil when the key resolves to nothing or to several files
Example
Section titled “Example”local path = GetMeshPath("barrel_a")See also
Section titled “See also”FindMeshes · CreateProp · the Props group of the index
