GetLeague

Category: System
Since engine version: 4.9.6.0 CR

Description

If league is activated GetLeague returns the name of the league. Returns nil if league is deactivated. Because a scenario can be in multiple leagues at the same time additional leagues can be queried by specifying iIndex (https://board.ccan.de/cgi-bin/topic_show.pl?pid=151678#pid151678).

Syntax

string GetLeague (int iIndex);

Parameter

iIndex:
Index of the league
Fulgen / Clonk Wiki, Juli 2016