mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
put AIPlayer support back, and it as the default class to spawn
This commit is contained in:
parent
185acd23e0
commit
32d95d3b8b
5 changed files with 56 additions and 23 deletions
|
|
@ -87,7 +87,7 @@ function NavEditorPlugin::onWorldEditorStartup(%this)
|
|||
|
||||
// Add ourselves to the Editor Settings window.
|
||||
exec("./NavEditorSettingsTab.gui");
|
||||
//ESettingsWindow.addTabPage(ENavEditorSettingsPage);
|
||||
ESettingsWindow.addTabPage(ENavEditorSettingsPage);
|
||||
ENavEditorSettingsPage.init();
|
||||
|
||||
// Add items to World Editor Creator
|
||||
|
|
@ -241,7 +241,7 @@ function NavEditorPlugin::initSettings(%this)
|
|||
{
|
||||
EditorSettings.beginGroup("NavEditor", true);
|
||||
|
||||
EditorSettings.setDefaultValue("SpawnClass", "Player");
|
||||
EditorSettings.setDefaultValue("SpawnClass", "AIPlayer");
|
||||
EditorSettings.setDefaultValue("SpawnDatablock", "DefaultPlayerData");
|
||||
|
||||
EditorSettings.endGroup();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue