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

Goto

Resolves an optional Obj and required Unit, clears Unit tracking at [field] when set, then delegates the movement state machine to [field]; invalid Unit pushes false.

Signature

bool Unit::Goto(Obj, int, int, bool, int)

Parameters and return

Receiver: Unit · Return: bool

PositionType
1Obj
2int
3int
4bool
5int

Other overloads

MemberSignature and description
Unit::GotoUnitbool Unit::Goto(point, int, int, bool, int)

Clamps the point to map bounds and coordinates a Unit path controller, movement command, wait ticks and terminal bool through native status 0, 1 or 2; its path destination call passes final flag 1.

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