mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 21:40:31 +00:00
set navmesh test tool bots to damage enabled and navmeshignore
This commit is contained in:
parent
32f9917ed2
commit
d0b0070ec7
1 changed files with 3 additions and 1 deletions
|
|
@ -463,8 +463,10 @@ function NavEditorGui::onPlayerSelected(%this, %flags)
|
|||
{
|
||||
%this.getPlayer().aiController = new AIController(){ ControllerData = aiPlayerControl; };
|
||||
%this.getPlayer().setAIController(%this.getPlayer().aiController);
|
||||
NavMeshIgnore(%this.getPlayer(), true);
|
||||
%this.getPlayer().setDamageState("Enabled");
|
||||
}
|
||||
NavMeshIgnore(%this.getPlayer(), true);
|
||||
|
||||
updateLinkData(NavEditorOptionsWindow-->TestProperties, %flags);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue