core.model.is_loaded
Shared
Retrieves whether a model has been loaded into memory
Syntax
local result = core.model.is_loaded(
name
)Parameters
| Type | Name | Description |
|---|---|---|
string | name | Name of the model to check |
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if the model is loaded, false otherwise |
Examples
core.engine.print("info", "Model loaded:", core.model.is_loaded("character"))