# SetCrewStatus

Objects
Crew
5.1 OC
bool
int player Player number of the player whose crew you want to change.
bool into_crew `true` if you want to add a clonk to the crew and `false` if you want to remove him.
Adds or removes an object (usually a clonk) to or from the crew of a player. The object must have the CrewMember property set in the DefCore. This does not add the object to the permanent crew of the player, use MakeCrewMember for that.
var nClonk = CreateObject(Clonk); nClonk->SetCrewStatus(GetOwner(), true);
This script creates a new clonk and adds it to the crew list of the owner.
GetCrew
CrewMember
MakeCrewMember
OCF_CrewMember
GrabObjectInfo
Clonkonaut
2008-05