3 protected const string FILE_NAME =
"scene_editor.cfg";
4 protected const string SCENE_EDITOR_SCENE =
"scene_load";
9 static PluginMissionConfig GetInstance()
11 return PluginMissionConfig.Cast(
GetPlugin(PluginMissionConfig) );
21 CfgParamString cfg_scene_name = CfgParamString.Cast( GetParamByName( SCENE_EDITOR_SCENE,
CFG_TYPE_STRING ) );
25 cfg_scene_name.SetValue( PluginSceneManager.SCENE_DEFAULT_NAME );
35 return g_Game.GetMissionFolderPath() +
"\\"+ FILE_NAME;
41 string GetSceneEditorName()
43 CfgParamString cfg_scene_name = CfgParamString.Cast( GetParamByName( SCENE_EDITOR_SCENE,
CFG_TYPE_STRING ) );
47 cfg_scene_name.SetValue( PluginSceneManager.SCENE_DEFAULT_NAME );
51 return cfg_scene_name.GetValue();
57 void SetSceneEditorName(
string value )
59 CfgParamString cfg_scene_name = CfgParamString.Cast( GetParamByName( SCENE_EDITOR_SCENE,
CFG_TYPE_STRING ) );
60 cfg_scene_name.SetValue( value );