self:get_animations
Shared
Retrieves a list of all available animations on the model
Syntax
local animations = self:get_animations()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
table | animations | Array of animation name strings |
Examples
local entity = core.model.create("character")
local animations = entity:get_animations()
core.engine.iprint(animations)