GetCursor

Category: Objects / Crew
Since engine version: 1.0 OC

Description

Returns the currently controlled Clonk of a player.

Syntax

object GetCursor(int player);

Parameter

player:
Player number of the player whose controlled clonk you want to determine.

Examples

if (!GetCursor(0)) SetCursor(GetHiRank(0));
Selects the player's highest ranking clonk if currently no other clonk is selected.
GetCursor(0)->Message("Hooray!");
Displays a message above the currently selected clonk of the first player.
See also: GetCrew, GetHiRank
Sven2, 2003-02