MakeScenarioSaveName

Kategorie: System
Ab Engineversion: 3.0 OC

Beschreibung

Returns the name under which an object is stored in an Objects.c file if it is saved with the "Save scenario" option (See Scenario objects saving).

Syntax

string MakeScenarioSaveName();

Beispiel

local target;

func SaveScenarioObject(props)
{
	if (!inherited(props, ...)) return false;
	if (target) props->Add("Target", "SetTarget(%s)", target->MakeScenarioSaveName());
	return false;
}
Stores a call to SetTarget using a reference to an object stored in the target variable.
Siehe auch: Scenario objects saving
Sven2, 2013-12