Imperivm Modding WikiCKS · FORMATS · GUIDESEspañol
Obj · CKS MEMBER

CmdCount

Returns the number of commands in the object's queue. Returns zero if the reference cannot be resolved or the object is considered destroyed.

This overload reads the command count without filtering by name. CmdCount(str) is a distinct overload. Zero can also come from an invalid reference or a destroyed object, so it is not sufficient by itself to test object validity. How every special command, such as idle, contributes to the count is not established here.

Signature

int Obj::CmdCount()

Parameters and return

Receiver: Obj · Return: int

No additional parameters.

Other overloads

MemberSignature and description
Obj::CmdCountObjint Obj::CmdCount(str)

Counts queued commands with the specified name.

← Explore Obj
MarkdownJSON

Suggest a better description

Your proposal will be held in a private inbox for review.

Controller: José Luis de la Torre Reyes. Proposals are processed to review documentation improvements on the basis of legitimate interests. You can request access, correction, erasure or object by writing to seluedita@gmail.com. Opening this form uses a first-party security cookie for one hour. Submitting stores the proposal and an IP-derived security identifier in the private inbox; omitting your name does not make the submission technically anonymous. Privacy information · Cookies and browser storage.

0 / 4000

Proposals are reviewed before publication. Do not include personal information in the description.