add a %this.registerMissionObject( "SpawnSphere", "General Spawn Sphere", "GeneralDropPoint" ); to the level creator folder

This commit is contained in:
AzaezelX 2021-01-10 15:59:51 -06:00
parent 5e4008d207
commit 1bad377be1
2 changed files with 14 additions and 0 deletions

View file

@ -1072,6 +1072,19 @@ function ObjectBuilderGui::buildObserverDropPoint(%this)
%this.process();
}
function ObjectBuilderGui::buildGeneralDropPoint(%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.process();
}
function ObjectBuilderGui::buildNotesObject(%this)
{
%this.objectClassName = "NotesObject";

View file

@ -87,6 +87,7 @@ function EWCreatorWindow::init( %this )
%this.registerMissionObject( "Portal", "Zone Portal" );
%this.registerMissionObject( "SpawnSphere", "Player Spawn Sphere", "PlayerDropPoint" );
%this.registerMissionObject( "SpawnSphere", "Observer Spawn Sphere", "ObserverDropPoint" );
%this.registerMissionObject( "SpawnSphere", "General Spawn Sphere", "GeneralDropPoint" );
%this.registerMissionObject( "SFXSpace", "Sound Space" );
%this.registerMissionObject( "OcclusionVolume", "Occlusion Volume" );
%this.registerMissionObject( "AccumulationVolume", "Accumulation Volume" );