Model
model.is_loaded
Shared
Retrieves whether a model has been loaded into memory
Syntax
local result = 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
engine.print("info", "Model loaded:", model.is_loaded("character"))