From 3ade2a22f0ce848152eba11a75f99fc60a856391 Mon Sep 17 00:00:00 2001 From: Joshua Sauder Date: Mon, 25 Nov 2024 11:00:21 -0500 Subject: [PATCH] Corrects agent type string Following this guide using scripts method, the string used to for GetAgentType is incorrect and should be "ScriptDemoAgent" --- Package/Documentation/Introduction/Setup.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Package/Documentation/Introduction/Setup.md b/Package/Documentation/Introduction/Setup.md index 1f50c0f1..2cb17a2f 100644 --- a/Package/Documentation/Introduction/Setup.md +++ b/Package/Documentation/Introduction/Setup.md @@ -363,7 +363,7 @@ namespace CrashKonijn.Docs.GettingStarted.Behaviours // This only applies sto the code demo if (this.provider.AgentTypeBehaviour == null) - this.provider.AgentType = this.goap.GetAgentType("DemoAgent"); + this.provider.AgentType = this.goap.GetAgentType("ScriptDemoAgent"); } private void Start() @@ -460,4 +460,4 @@ namespace CrashKonijn.Docs.GettingStarted.Actions When playing the scene the agent will now wait for a while before moving to a new position! -![Second idle run](../images/getting_started/second_idle_run.gif) \ No newline at end of file +![Second idle run](../images/getting_started/second_idle_run.gif)