KnockDoorAction Class
Declared on: line 21 of Lua/humanoid_actions/knock_door.lua.
Inheritance: KnockDoorAction ยป HumanoidAction
Inheritance: KnockDoorAction ยป HumanoidAction
Method Index
- afterLoad(old, new) (inherited from HumanoidAction)
- disableTruncate() (inherited from HumanoidAction)
- setAfterUse(after_use) (inherited from HumanoidAction)
- setCount(count) (inherited from HumanoidAction)
- setIsLeaving(is_leaving) (inherited from HumanoidAction)
- setLoopCallback(loop_callback) (inherited from HumanoidAction)
- setMustHappen(must_happen) (inherited from HumanoidAction)
- setUninterruptible(uninterruptible) (inherited from HumanoidAction)
- start()
- update()
Member Index
- after_use (*)
- count (*)
- direction
- door
- humanoid
- idle_must_happen (*)
- is_entering (*)
- is_leaving (*)
- loop_callback (*)
- must_happen
- name (*)
- no_truncate (*)
- saved_must_happen (*)
- state
- uninterruptible (*)
function KnockDoorAction:KnockDoorAction(humanoid, door, direction)
Constructor for knocking on the door action.
Parameters:
| Name | Type | Description |
|---|---|---|
| humanoid | ? | ? |
| door | Object | Door to knock on. |
| direction | string | Direction of facing. |
Declared on: line 26 of Lua/humanoid_actions/knock_door.lua.