CorsixTH Lua Documentation

QueueAction Class

Declared on: line 21 of Lua/humanoid_actions/queue.lua.
Inheritance: QueueAction ยป HumanoidAction

Method Index

Member Index

(*) only used in superclass methods
function QueueAction:QueueAction(x, y, queue)

Queue for something (door or reception desk).

Parameters:

NameTypeDescription
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:

NameTypeDescription
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:

NameTypeDescription
door object Object to reserve when leaving the queue.

Declared on: line 44 of Lua/humanoid_actions/queue.lua.