From d0b0070ec7271f42b41b537fccf2b15866e83afd Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Thu, 17 Apr 2025 18:15:41 -0500 Subject: [PATCH] set navmesh test tool bots to damage enabled and navmeshignore --- Templates/BaseGame/game/tools/navEditor/navEditor.tscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Templates/BaseGame/game/tools/navEditor/navEditor.tscript b/Templates/BaseGame/game/tools/navEditor/navEditor.tscript index 14d758923..75a84977b 100644 --- a/Templates/BaseGame/game/tools/navEditor/navEditor.tscript +++ b/Templates/BaseGame/game/tools/navEditor/navEditor.tscript @@ -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); }