DoCrewExp

Category: Objects / Crew
Since engine version: 1.0 OC

Description

Gives experience points to a clonk.

Syntax

void DoCrewExp(int change);

Parameter

change:
Change of the experience value.

Remark

The receiving object must have an info section, meaning it must be a CrewMember and joined to a player's crew.

Example

GetCursor()->DoCrewExp(100);
Sound("Applause", true); GameOver();
Gives the selected clonk 100 points of experience, plays a sound and then ends the round.
See also: GetRank
Sven2, 2002-04