Imperivm Modding WikiCKS · FORMATS · GUIDESEspañol
CKS TYPECKS reference

Catapult

Browse its members and the signatures that accept or return this type.

14 members2 return it0 accept it

Members

14

Expand a member to read its notes or open its full entry. Each overload keeps its own identity.

MemberSignature and description
IsBuilt

Catapult::IsBuilt pops an 8-byte Catapult handle, validates it through the global unit registry, and pushes a 1-byte boolean indicating whether the 32-bit field at Catapult offset [field] is non-zero.

Open full entry →
Catapult
bool Catapult::IsBuilt()

Catapult::IsBuilt pops an 8-byte Catapult handle, validates it through the global unit registry, and pushes a 1-byte boolean indicating whether the 32-bit field at Catapult offset [field] is non-zero.

SetBuilt

Behavior awaiting documentation.

Open full entry →
Catapult
void Catapult::SetBuilt()Description pending

Description pending.

SetBuildFrame

Behavior awaiting documentation.

Open full entry →
Catapult
void Catapult::SetBuildFrame(int)Description pending

Description pending.

RotateTo

Behavior awaiting documentation.

The extension records this primitive, but does not yet provide a description of its behavior.

Open full entry →
Catapult
void Catapult::RotateTo(point)Description pending

Description pending.

Attack

Behavior awaiting documentation.

Open full entry →
Catapult
void Catapult::Attack(point)Description pending

Description pending.

BestTarget

Evaluates surrounding targets across the spatial index within the catapult's attack range and returns the best candidate object handle.

Open full entry →
Catapult
Obj Catapult::BestTarget()

Evaluates surrounding targets across the spatial index within the catapult's attack range and returns the best candidate object handle.

GetPointOnTarget

Behavior awaiting documentation.

Open full entry →
Catapult
point Catapult::GetPointOnTarget(Obj)Description pending

Description pending.

InRange

Behavior awaiting documentation.

Open full entry →
Catapult
bool Catapult::InRange(point)Description pending

Description pending.

AttackWait

Behavior awaiting documentation.

Open full entry →
Catapult
int Catapult::AttackWait()Description pending

Description pending.

CalcEscapeDirection

Behavior awaiting documentation.

Open full entry →
Catapult
point Catapult::CalcEscapeDirection()Description pending

Description pending.

GetCurrentTarget

Catapult GetCurrentTarget encodes the stored target word with an unassigned upper halfword and a four-byte invalid result.

Open full entry →
Catapult
Obj Catapult::GetCurrentTarget()

Catapult GetCurrentTarget encodes the stored target word with an unassigned upper halfword and a four-byte invalid result.

SetTarget

Stores a target handle on a catapult and propagates it to associated CatapultTower objects.

Open full entry →
Catapult
void Catapult::SetTarget(Obj)

Stores a target handle on a catapult and propagates it to associated CatapultTower objects.

ClearTarget

Clears a catapult's own target and propagates tower-target clearing to associated catapult towers.

Open full entry →
Catapult
void Catapult::ClearTarget()

Clears a catapult's own target and propagates tower-target clearing to associated catapult towers.

ClearTowerTarget

Clears the stored target on CatapultTower objects associated with a catapult.

Open full entry →
Catapult
void Catapult::ClearTowerTarget()

Clears the stored target on CatapultTower objects associated with a catapult.

Return this type

2
MemberSignature and description
Obj::AsCatapultObjCatapult Obj::AsCatapult()

Attempts a dynamic conversion of an Obj reference to Catapult and returns a Catapult reference on success.

PlaceCatapultGlobalCatapult PlaceCatapult(int, int, int, int)

Routes four script integers through class selection and catapult creation.

Accept this type

0

No entries in the published catalog.

Coverage and limits

6 / 14 members with a published description.

These lists come from published signatures. “Accept” counts explicit parameters, excluding the method receiver; reference variants (&) are included. No inheritance hierarchy is asserted. Undocumented names, units and effects remain unresolved.