Insert
Insert is a class used for inserting user-generated models into your game via scripts.
Summary
Methods
Model:void
Methods
Model
Insert:Model(modelID: int, callback: func)
Parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
modelID | int | - | |
callback | func | nil |
Inserts the specified model ID into your game, with an optional callback for when the model successfully loads.
Example:
-- Loads the tree model associated with that ID
Insert:Model(739)