MapEditor.CreateObject

From Wiki G1R-MP G1 Remake Multiplayer
Revision as of 18:19, 20 September 2026 by QCherry (talk | contribs) (Document Map Editor, saved maps, static scene deployment and Lua APIs since 0.1.4)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MapEditor.CreateObject

Since 0.1.4 (in development; not included in public 0.1.3).

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.