Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script
GetCaptain
Category:
Objects / Crew
Since engine version:
4.6.5.0 CP
Description
Returns the captain of the specified player. Only with game rule "Kill the Captain".
Syntax
object
GetCaptain (
int
iPlayer);
Parameter
iPlayer:
Player
Example
Kill
(GetCaptain(2));
Kills the captain of the third player.
See also:
GetHiRank
jwk, Juni 2002
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script