Skip to content

Object:GetProductionQueueCount

Read production queue count for this object.

object:GetProductionQueueCount()

Inputs: None beyond the Object receiver.

Output: Integer or nil, reason. Total remaining quantity across verified native batches, including the current batch. Zero means a successfully read empty queue. Unavailable or changing data returns nil and a reason.

Errors and unavailable states: A wrong receiver can raise a Lua argument error. Unavailable or changing native queue data returns nil, reason; 0 means a successfully read empty queue.

See Lua values and game objects for lifetime and enum guidance.