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

AIRun

Attempts to start an AI script task for the supplied one-based player and returns its task identifier or -1.

Signature

int AIRun(int, str, Settlement, ObjList, Obj, int)

Parameters and return

Global scope · Return: int

Other overloads

MemberSignature and description
AIRunGlobalint AIRun(str)

Starts a named AI script task in the current player context and returns its task identifier or -1.

AIRunGlobalint AIRun(str, Settlement, ObjList, Obj, int)

Starts a typed AI script task in the current script player's AI context and returns its task identifier.

AIRunGlobalvoid AIRun(int, str)

Native adapter for this function resolving a player script and dispatching 0 integer arguments.

AIRunGlobalvoid AIRun(int, str, int)

Native adapter for this function resolving a player script and dispatching 1 integer arguments.

AIRunGlobalvoid AIRun(int, str, int, int)

Native adapter for this function resolving a player script and dispatching 2 integer arguments.

AIRunGlobalvoid AIRun(int, str, int, int, int)

Native adapter for this function resolving a player script and dispatching 3 integer arguments.

AIRunGlobalvoid AIRun(int, str, int, int, int, int)

Native adapter for this function resolving a player script and dispatching 4 integer arguments.

AIRunGlobalvoid AIRun(int, str, int, int, int, int, int)

Native adapter for this function resolving a player script and dispatching 5 integer arguments.

← Explore Global
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.