ScoreboardCol

Category: Interface
Since engine version: 4.9.6.0 CR

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 idDef);

Parameter

idDef:
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, Februar 2006