Sfoglia il codice sorgente

add a toggle for the standard canSaveDynamicFields flipped by default to off so folks can bolt variables on the fly onto the spawner (like thing spawned, how many ect) without it poluting level saves

AzaezelX 4 anni fa
parent
commit
7e3e1941c6

+ 1 - 0
Templates/BaseGame/game/tools/worldEditor/gui/objectBuilderGui.ed.gui

@@ -1082,6 +1082,7 @@ function ObjectBuilderGui::buildGeneralDropPoint(%this)
    %this.addField("spawnClass",     "TypeString",    "Spawn Class", "");
    %this.addField("spawnClass",     "TypeString",    "Spawn Class", "");
    %this.addField("spawnDatablock", "TypeString", "Spawn Data", "");
    %this.addField("spawnDatablock", "TypeString", "Spawn Data", "");
    %this.addField("spawnTransform", "TypeBool", "Spawn Here", "true");
    %this.addField("spawnTransform", "TypeBool", "Spawn Here", "true");
+   %this.addField("canSaveDynamicFields", "TypeBool", "Save metadata", "false");
    %this.process();
    %this.process();
 }
 }