IdleAction Class
Method Index
- afterLoad(old, new) (inherited from HumanoidAction)
- disableTruncate() (inherited from HumanoidAction)
- setAfterUse(after_use) (inherited from HumanoidAction)
- setCount(count) (inherited from HumanoidAction)
- setDirection(direction)
- setIsLeaving(is_leaving) (inherited from HumanoidAction)
- setLoopCallback(loop_callback) (inherited from HumanoidAction)
- setMustHappen(must_happen) (inherited from HumanoidAction)
- setOnInterrupt(on_interrupt)
- setUninterruptible(uninterruptible) (inherited from HumanoidAction)
Member Index
- after_use (*)
- count (*)
- direction
- idle_must_happen (*)
- is_entering (*)
- is_leaving (*)
- loop_callback (*)
- must_happen (*)
- name (*)
- no_truncate (*)
- on_interrupt
- saved_must_happen (*)
- state (*)
- uninterruptible (*)
function IdleAction:setDirection(direction)
Set the direction of facing while standing idle.
Parameters:
| Name | Type | Description |
|---|---|---|
| direction | string | Direction of facing. |
Declared on: line 32 of Lua/humanoid_actions/idle.lua.
function IdleAction:setOnInterrupt(on_interrupt)
Set the function to call on interrupt.
Parameters:
| Name | Type | Description |
|---|---|---|
| on_interrupt | function | Function to call on interrupt. |
Declared on: line 45 of Lua/humanoid_actions/idle.lua.