DoScore
Category: Player
Since engine version: 4.6.5.0 CP
Description
Adjusts the score of a player. The score value combined with the player value (sum of all objects owned by a player) yields the total score for a scenario.
Syntax
bool DoScore
(int iPlr, int iChange);
Parameters
- iPlr:
Number of the player whose score you want to change
- iChange:
Change of score (positive or negative)
Example
DoScore(0, -100);
Deducts 100 points from this player.
Sven2, November 2001