Merge pull request #1403 from Azaezel/alpha41/spawnSphereShaping

ObjectBuilderGui::buildSpawnSphere
This commit is contained in:
Brian Roberts 2025-03-01 18:41:08 -06:00 committed by GitHub
commit e8028b93a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1502,6 +1502,22 @@ function ObjectBuilderGui::buildFlyingVehicle(%this)
%this.process();
}
function ObjectBuilderGui::buildSpawnSphere(%this)
{
%this.objectClassName = "SpawnSphere";
%this.addField("dataBlock", "TypeDataBlock", "dataBlock", "MissionMarkerData SpawnSphereMarker");
%this.addField("radius", "TypeFloat", "Radius", 1);
%this.addField("sphereWeight", "TypeFloat", "Sphere Weight", 1);
%this.addField("spawnClass", "TypeString", "Spawn Class", "");
%this.addField("spawnDatablock", "TypeString", "Spawn Data", "");
%this.addField("spawnTransform", "TypeBool", "Spawn Here", "true");
%this.addField("autoSpawn", "TypeBool", "Auto Spawn Objects", "false");
%this.addField("spawnScript", "TypeString", "spawnScript", "%this.spawned = $SpawnObject;");
%this.addField("canSaveDynamicFields", "TypeBool", "Save metadata", "false");
%this.process();
}
function ObjectBuilderGui::buildObserverDropPoint(%this)
{
%this.objectClassName = "SpawnSphere";