ScoreboardCol

Category: Interface
Since engine version: 1.0 OC

Description

Converts an object definition id into a number which can be used as index for SetScoreboardData. This function is of interest if an object script intends to access the scoreboard but wants to be sure that it is not using the same column indices as another object definition.

Syntax

int ScoreboardCol(id definition);

Parameter

definition:
C4ID to be converted into a scoreboard column index. For object based scoreboards you should always use the id of the object definition which is accessing the scoreboard.
See also: DoScoreboardShow, SetScoreboardData, SortScoreboard
Sven2, 2006-02