SetCon
Category:
Objects / Status
Since engine version:
5.1 OC
Description
Sets the completion of an object to the specified value.
Syntax
bool
SetCon(
int
con);
Parameter
con:
Completion/growth in percent
Example
GetCrew
(0,0)->SetCon(50);
Shrinks the first clonk of the first player to half size.
See also:
DoCon
,
GetCon
,
OCF_Construct
,
OCF_FullCon
flgr, 2002-01
matthes, 2004-07