QueueAction Class
Method Index
- afterLoad(old, new) (inherited from HumanoidAction)
- disableTruncate() (inherited from HumanoidAction)
- setAfterUse(after_use) (inherited from HumanoidAction)
- setCount(count) (inherited from HumanoidAction)
- setFaceDirection(face_x, face_y)
- setIsLeaving(is_leaving) (inherited from HumanoidAction)
- setLoopCallback(loop_callback) (inherited from HumanoidAction)
- setMustHappen(must_happen) (inherited from HumanoidAction)
- setReserveWhenDone(door)
- setUninterruptible(uninterruptible) (inherited from HumanoidAction)
Member Index
- after_use (*)
- count (*)
- face_x
- face_y
- idle_must_happen (*)
- is_entering (*)
- is_leaving (*)
- loop_callback (*)
- must_happen (*)
- name (*)
- no_truncate (*)
- queue
- reserve_when_done
- saved_must_happen (*)
- state (*)
- uninterruptible (*)
- x
- y
function QueueAction:QueueAction(x, y, queue)
Queue for something (door or reception desk).
Parameters:
| Name | Type | Description |
|---|---|---|
| x | ? | X position of the queue. |
| y | ? | Y position of the queue. |
| queue | Queue | Queue to join |
Declared on: line 26 of Lua/humanoid_actions/queue.lua.
function QueueAction:setFaceDirection(face_x, face_y)
Set the tile to face.
Parameters:
| Name | Type | Description |
|---|---|---|
| face_x | int | X coordinate of the tile to face. |
| face_y | int | Y coordinate of the tile to face. |
Declared on: line 54 of Lua/humanoid_actions/queue.lua.
function QueueAction:setReserveWhenDone(door)
Set the object to reserve when queueing is done.
Parameters:
| Name | Type | Description |
|---|---|---|
| door | object | Object to reserve when leaving the queue. |
Declared on: line 44 of Lua/humanoid_actions/queue.lua.