MultiUseObjectAction Class
Declared on: line 21 of Lua/humanoid_actions/multi_use_object.lua.
Inheritance: MultiUseObjectAction ยป HumanoidAction
Inheritance: MultiUseObjectAction ยป HumanoidAction
Method Index
- afterLoad(old, new) (inherited from HumanoidAction)
- disableTruncate() (inherited from HumanoidAction)
- setAfterUse(after_use) (inherited from HumanoidAction)
- setCount(count) (inherited from HumanoidAction)
- setInvisiblePhaseSpan(span)
- setIsLeaving(is_leaving) (inherited from HumanoidAction)
- setLayer3(layer3)
- setLoopCallback(loop_callback) (inherited from HumanoidAction)
- setMustHappen(must_happen) (inherited from HumanoidAction)
- setProlongedUsage(prolonged)
- setUninterruptible(uninterruptible) (inherited from HumanoidAction)
Member Index
- after_use (*)
- count (*)
- idle_must_happen (*)
- invisible_phase_span
- is_entering (*)
- is_leaving (*)
- layer3
- loop_callback (*)
- must_happen (*)
- name (*)
- no_truncate (*)
- object
- prolonged_usage
- saved_must_happen (*)
- state (*)
- uninterruptible (*)
- use_with
function MultiUseObjectAction:MultiUseObjectAction(object, use_with)
Construct a multi-use object action.
Parameters:
| Name | Type | Description |
|---|---|---|
| object | Object | Object being used. |
| use_with | Humanoid | Fellow user of the object. |
Declared on: line 26 of Lua/humanoid_actions/multi_use_object.lua.
function MultiUseObjectAction:setInvisiblePhaseSpan(span)
Set the invisibility span.
Parameters:
| Name | Type | Description |
|---|---|---|
| span | array | Span of invisibility, {from, to} |
Declared on: line 40 of Lua/humanoid_actions/multi_use_object.lua.
function MultiUseObjectAction:setLayer3(layer3)
Set animation layer3 to the given value.
Parameters:
| Name | Type | Description |
|---|---|---|
| layer3 | int | Value to set for animation layer 3. |
Declared on: line 62 of Lua/humanoid_actions/multi_use_object.lua.
function MultiUseObjectAction:setProlongedUsage(prolonged)
Set prolonged usage of the object.
Parameters:
| Name | Type | Description |
|---|---|---|
| prolonged | bool | If set, enable prolonged usage of the object. |
Declared on: line 52 of Lua/humanoid_actions/multi_use_object.lua.