Browse Source

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 years ago
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("spawnDatablock", "TypeString", "Spawn Data", "");
    %this.addField("spawnTransform", "TypeBool", "Spawn Here", "true");
+   %this.addField("canSaveDynamicFields", "TypeBool", "Save metadata", "false");
    %this.process();
 }