# SetName

Objects
Status
5.1 OC
bool
string name New name. If `nil`, the object's name is reset to the definition value or the original crew member's name.
bool set_permanent For crew members only: if `true`, the name is changed permanently in the crew info in the player file. There may be no duplicate names within a player file.
bool make_valid_if_exists Determines what should happen if a clonk of the same name already exists in the player's crew. If `false`, the function call will fail. If `true`, a unique name is created by appending a number.
Changes name of an object or a definition for the duration of the round.
protected func InitializePlayer(player) { GetHiRank(player)->SetName("Strunzmuffel"); return 1; }
Scenario script: the highest ranking clonks of joining players get different names in this round.
protected func Initialize() { Wood->SetName("Baumstamm"); }
Scenario script: In this round, wood will be called "Baumstamm".
MakeCrewMember
GetName
Sven2
2003-06
Isilkor
2009-09