mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
fix vheicle add dropwdown spawntypes
This commit is contained in:
parent
810c070512
commit
86408058a3
|
|
@ -135,7 +135,7 @@ function ObjectBuilderGui::reset(%this)
|
||||||
%this.createFunction = "";
|
%this.createFunction = "";
|
||||||
%this.createCallback = "";
|
%this.createCallback = "";
|
||||||
%this.currentControl = 0;
|
%this.currentControl = 0;
|
||||||
|
|
||||||
//
|
//
|
||||||
OBObjectName.setValue(%this.defaultObjectName);
|
OBObjectName.setValue(%this.defaultObjectName);
|
||||||
|
|
||||||
|
|
@ -1480,7 +1480,7 @@ function ObjectBuilderGui::buildAIPlayer(%this)
|
||||||
|
|
||||||
function ObjectBuilderGui::buildWheeledVehicle(%this)
|
function ObjectBuilderGui::buildWheeledVehicle(%this)
|
||||||
{
|
{
|
||||||
%this.objectClassName = "Player";
|
%this.objectClassName = "WheeledVehicle";
|
||||||
%this.addField("dataBlock", "TypeDataBlock", "dataBlock", "WheeledVehicleData");
|
%this.addField("dataBlock", "TypeDataBlock", "dataBlock", "WheeledVehicleData");
|
||||||
%this.addField("control", "TypeBool", "control?", "false");
|
%this.addField("control", "TypeBool", "control?", "false");
|
||||||
%this.process();
|
%this.process();
|
||||||
|
|
@ -1488,7 +1488,7 @@ function ObjectBuilderGui::buildWheeledVehicle(%this)
|
||||||
|
|
||||||
function ObjectBuilderGui::buildHoverVehicle(%this)
|
function ObjectBuilderGui::buildHoverVehicle(%this)
|
||||||
{
|
{
|
||||||
%this.objectClassName = "Player";
|
%this.objectClassName = "HoverVehicle";
|
||||||
%this.addField("dataBlock", "TypeDataBlock", "dataBlock", "HoverVehicleData");
|
%this.addField("dataBlock", "TypeDataBlock", "dataBlock", "HoverVehicleData");
|
||||||
%this.addField("control", "TypeBool", "control?", "false");
|
%this.addField("control", "TypeBool", "control?", "false");
|
||||||
%this.process();
|
%this.process();
|
||||||
|
|
@ -1496,7 +1496,7 @@ function ObjectBuilderGui::buildHoverVehicle(%this)
|
||||||
|
|
||||||
function ObjectBuilderGui::buildFlyingVehicle(%this)
|
function ObjectBuilderGui::buildFlyingVehicle(%this)
|
||||||
{
|
{
|
||||||
%this.objectClassName = "Player";
|
%this.objectClassName = "FlyingVehicle";
|
||||||
%this.addField("dataBlock", "TypeDataBlock", "dataBlock", "FlyingVehicleData");
|
%this.addField("dataBlock", "TypeDataBlock", "dataBlock", "FlyingVehicleData");
|
||||||
%this.addField("control", "TypeBool", "control?", "false");
|
%this.addField("control", "TypeBool", "control?", "false");
|
||||||
%this.process();
|
%this.process();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue