DoCrewExp
Category: Objects
/ Crew
Since engine version: 4.9.1.0 GWE
Description
Gives experience points to a clonk.
Syntax
bool DoCrewExp
(int iChange, object pObj);
Parameters
- iChange:
Change of the experience value
- pObj:
Crew member object which to give experience to
Remark
The receiving object must have an info section, meaning it must be a CrewMember and joined to a player's crew.
Example
DoCrewExp(100, GetCursor());
Sound("Applause", 1); GameOver();
Gives the selected clonk 100 points of experience, plays a sound and then ends the round.
Sven2, April 2002