MapEditor.CreateObject

From Wiki G1R-MP G1 Remake Multiplayer
Jump to navigation Jump to search

MapEditor.CreateObject

Since 0.1.4.

Lua Examples.

idOrFalse = MapEditor.CreateObject(meshPath, transform)

Editor-resource helper only. Returns a reserved string ID or false, not native completion. Optional transform/properties table uses editor defaults and catalog/schema validation.

See MapEditor helpers for parameters, examples, failure handling and limits.