Category: Objects
/ Crew
Since engine version: 1.0 OC
MakeCrewMember
Description
Adds an object (usually a clonk) to the crew of a player. The object must have the CrewMember property set in the DefCore.
Returns
Returns
true
if the object was added successfully.Syntax
bool MakeCrewMember(int player);
Parameter
- player:
- Player to whose crew you want to add a member.
Example
var nClonk = CreateObject(Clonk); nClonk->MakeCrewMember(GetOwner());
This script creates a new clonk and adds it to the crew list of the owner.