Help With AI

I need an AI that moves to Targets points but idk how to do it i tried 5 times but it fail please help

You have the right idea to get the list of places in begin play.
However, the for loop will run all in the event begin play event, and just set the target index / array element to the last element/index.

For the AI to move to a location, you need to issue the “AI move to location” command from some event. You could wrap this into a function that increments target index, if it’s equal to length of target array, set it to 0, then get the element at that index from the array, and call ai move to location of that targets location. Call this function from event begin play.

Then, listen to the “reached goal position” event, and in that event, call that same function to start moving to the next location.

Can you repeat it but better?

ok so copy and paste the following code into the character blueprint.
be shure to check instance editable and show 3d widget on the patrolpoints array.
also make shure you have a nav mesh bounds volume in place you can find it in the volumes under add.
other things you should do are look into behavior trees or state trees.

Begin Object Class=/Script/BlueprintGraph.K2Node_VariableGet Name=“K2Node_VariableGet_0” ExportPath=“/Script/BlueprintGraph.K2Node_VariableGet’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_VariableGet_0’”
VariableReference=(MemberName=“patrolpoints”,MemberGuid=DD92633F45E133135DB517998AB30527,bSelfContext=True)
NodePosX=240
NodePosY=-544
NodeGuid=3E7FE36D4041AB1DB50063885DC133C6
CustomProperties Pin (PinId=560C26084EE82D2FFFAA34B3623B1E12,PinName=“patrolpoints”,Direction=“EGPD_Output”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/CoreUObject.Vector’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=Array,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_GetArrayItem_0 6350432F4E8FFE51D3D60F84C33A2368,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=EADF236746E32FAD62856E91D8000D05,PinName=“self”,PinFriendlyName=NSLOCTEXT(“K2Node”, “Target”, “Target”),PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/Engine.BlueprintGeneratedClass’/Game/simplegaurdAi/simpleGaurd.simpleGaurd_C’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_GetArrayItem Name=“K2Node_GetArrayItem_0” ExportPath=“/Script/BlueprintGraph.K2Node_GetArrayItem’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_GetArrayItem_0’”
bReturnByRefDesired=False
NodePosX=448
NodePosY=-544
NodeGuid=A729F30246F69D9CF065FEBFCF651348
CustomProperties Pin (PinId=6350432F4E8FFE51D3D60F84C33A2368,PinName=“Array”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/CoreUObject.Vector’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=Array,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_VariableGet_0 560C26084EE82D2FFFAA34B3623B1E12,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=941F92A540527BFAA76244A56D1BBCB4,PinName=“Dimension 1”,PinType.PinCategory=“int”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“0”,AutogeneratedDefaultValue=“0”,LinkedTo=(K2Node_VariableGet_2 54622D284AFF3F2E6ABBCDA780E7B28B,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=E574D0AB4AB55D561D29859265D35510,PinName=“Output”,Direction=“EGPD_Output”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/CoreUObject.Vector’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_CallFunction_5 6DB34F7346C5CE5828603A83CB18D213,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_Knot Name=“K2Node_Knot_0” ExportPath=“/Script/BlueprintGraph.K2Node_Knot’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_Knot_0’”
NodePosX=352
NodePosY=-272
NodeGuid=5B1B1C834A326D86F1438BBFE8879318
CustomProperties Pin (PinId=A45CCC614AE5FB90617E4DB2F7FA4D13,PinName=“InputPin”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_Knot_1 68D92FB24A0F684FEFD9FCA10FEA756D,K2Node_VariableSet_3 E4522DF5448B270998E512A885AC43A4,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=True,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=72CA7BFD4DD9E619E33212AADEDBD9C5,PinName=“OutputPin”,Direction=“EGPD_Output”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_AIMoveTo_0 F59AAA7140ECB888A7ECDF983B2CC3C3,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/AIGraph.K2Node_AIMoveTo Name=“K2Node_AIMoveTo_0” ExportPath=“/Script/AIGraph.K2Node_AIMoveTo’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_AIMoveTo_0’”
NodePosX=720
NodePosY=-288
NodeGuid=CDD066BB4383C12DB5D41B8361EBC628
CustomProperties Pin (PinId=F59AAA7140ECB888A7ECDF983B2CC3C3,PinName=“execute”,PinToolTip=“\nExec”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_Knot_0 72CA7BFD4DD9E619E33212AADEDBD9C5,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=2E9F359448EB5D9C9169D28C8C6B555B,PinName=“then”,Direction=“EGPD_Output”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=D93124EE4FF39CD8E6CF3A899E371424,PinName=“OnSuccess”,PinFriendlyName=NSLOCTEXT(“UObjectDisplayNames”, “AIAsyncTaskBlueprintProxy:OnSuccess”, “On Success”),Direction=“EGPD_Output”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_CallFunction_2 93A764ED4CFA655CABD8A79F984BC1A2,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=55B7A3AE46DB215B2F0AD9ACE15839F3,PinName=“OnFail”,PinFriendlyName=NSLOCTEXT(“UObjectDisplayNames”, “AIAsyncTaskBlueprintProxy:OnFail”, “On Fail”),Direction=“EGPD_Output”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=998AEA5949DD06C9C2D2AA9C7591B3B8,PinName=“MovementResult”,PinToolTip=“Movement Result\nEPathFollowingResult Enum”,Direction=“EGPD_Output”,PinType.PinCategory=“byte”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.Enum’/Script/AIModule.EPathFollowingResult’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=BA510F034D3945458BC66BBB601F2524,PinName=“WorldContextObject”,PinToolTip=“World Context Object\nObject Reference”,PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.Class’/Script/CoreUObject.Object’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=4D551C19498B60CAE8C31DAAFACC6D57,PinName=“Pawn”,PinToolTip=“Pawn\nPawn Object Reference”,PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.Class’/Script/Engine.Pawn’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_Self_0 683A6FCA4ECFBC56E03824907A167931,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=A8EF19604C07A00DFF93E3B453AA1303,PinName=“Destination”,PinToolTip=“Destination\nVector”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/CoreUObject.Vector’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“0, 0, 0”,AutogeneratedDefaultValue=“0, 0, 0”,LinkedTo=(K2Node_CallFunction_5 3F7FF21540AAB09675994FABAC9C37ED,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=F1CC029843D285E256B208B96DCD1F37,PinName=“TargetActor”,PinToolTip=“Target Actor\nActor Object Reference”,PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.Class’/Script/Engine.Actor’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,AutogeneratedDefaultValue=“None”,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=4DA289494DECD6569F1DC4918B7CCFA0,PinName=“AcceptanceRadius”,PinToolTip=“Acceptance Radius\nFloat (single-precision)”,PinType.PinCategory=“real”,PinType.PinSubCategory=“float”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“5.000000”,AutogeneratedDefaultValue=“5.000000”,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=50DC58D04EB7A770585CC388FB76825D,PinName=“bStopOnOverlap”,PinToolTip=“Stop on Overlap\nBoolean”,PinType.PinCategory=“bool”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“false”,AutogeneratedDefaultValue=“false”,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_Self Name=“K2Node_Self_0” ExportPath=“/Script/BlueprintGraph.K2Node_Self’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_Self_0’”
NodePosX=368
NodePosY=-160
NodeGuid=1600F29749FDF106E9952EAE33AFD2EF
CustomProperties Pin (PinId=683A6FCA4ECFBC56E03824907A167931,PinName=“self”,Direction=“EGPD_Output”,PinType.PinCategory=“object”,PinType.PinSubCategory=“self”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_AIMoveTo_0 4D551C19498B60CAE8C31DAAFACC6D57,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_VariableGet Name=“K2Node_VariableGet_2” ExportPath=“/Script/BlueprintGraph.K2Node_VariableGet’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_VariableGet_2’”
VariableReference=(MemberName=“patroilIndex”,MemberGuid=F97C4C04465380A7540573A670247B9A,bSelfContext=True)
NodePosX=272
NodePosY=-480
NodeGuid=C5C8CF444BA51099136807BB731DF2C1
CustomProperties Pin (PinId=54622D284AFF3F2E6ABBCDA780E7B28B,PinName=“patroilIndex”,Direction=“EGPD_Output”,PinType.PinCategory=“int”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“0”,AutogeneratedDefaultValue=“0”,LinkedTo=(K2Node_GetArrayItem_0 941F92A540527BFAA76244A56D1BBCB4,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=72378DD64BB760132DE92B8F2509BF9F,PinName=“self”,PinFriendlyName=NSLOCTEXT(“K2Node”, “Target”, “Target”),PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/Engine.BlueprintGeneratedClass’/Game/simplegaurdAi/simpleGaurd.simpleGaurd_C’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_VariableGet Name=“K2Node_VariableGet_3” ExportPath=“/Script/BlueprintGraph.K2Node_VariableGet’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_VariableGet_3’”
VariableReference=(MemberName=“patroilIndex”,MemberGuid=F97C4C04465380A7540573A670247B9A,bSelfContext=True)
NodePosX=1360
NodePosY=-208
NodeGuid=EC9D9E2746F7046BA2049EB2060A6E30
CustomProperties Pin (PinId=850970E54574101E5931DCBC01312C95,PinName=“patroilIndex”,Direction=“EGPD_Output”,PinType.PinCategory=“int”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“0”,AutogeneratedDefaultValue=“0”,LinkedTo=(K2Node_PromotableOperator_0 1689572F45BFFD1BF226A7A1E26135D0,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=FF3DE7E041929CA34001B69BC4C53425,PinName=“self”,PinFriendlyName=NSLOCTEXT(“K2Node”, “Target”, “Target”),PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/Engine.BlueprintGeneratedClass’/Game/simplegaurdAi/simpleGaurd.simpleGaurd_C’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_VariableSet Name=“K2Node_VariableSet_0” ExportPath=“/Script/BlueprintGraph.K2Node_VariableSet’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_VariableSet_0’”
VariableReference=(MemberName=“patroilIndex”,MemberGuid=F97C4C04465380A7540573A670247B9A,bSelfContext=True)
NodePosX=1584
NodePosY=-224
NodeGuid=52B57A05453A2E6C46C0D2A08124DE17
CustomProperties Pin (PinId=FEF38361420E22E2973187A2E6A286E1,PinName=“execute”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_CallFunction_2 CCC4CB0C481CEF70AC3161A3174920D3,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=E27AA61A49E33BD5DA8DDE9C1B026EFF,PinName=“then”,Direction=“EGPD_Output”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_Knot_2 641FF3454E88591E258EDBB659F92B64,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=A3B0EB25461404049CFB539BB36088C7,PinName=“patroilIndex”,PinType.PinCategory=“int”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“0”,AutogeneratedDefaultValue=“0”,LinkedTo=(K2Node_CallFunction_1 5F1FEE0B4BDA802C980CAF944A1BDF90,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=4320D63C4AA9D0C31A2F95969647D882,PinName=“self”,PinFriendlyName=NSLOCTEXT(“K2Node”, “Target”, “Target”),PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/Engine.BlueprintGeneratedClass’/Game/simplegaurdAi/simpleGaurd.simpleGaurd_C’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=9D55A721417D726C2212B1B4A483E77D,PinName=“Output_Get”,PinToolTip=“Retrieves the value of the variable, can use instead of a separate Get node”,Direction=“EGPD_Output”,PinType.PinCategory=“int”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“0”,AutogeneratedDefaultValue=“0”,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_PromotableOperator Name=“K2Node_PromotableOperator_0” ExportPath=“/Script/BlueprintGraph.K2Node_PromotableOperator’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_PromotableOperator_0’”
bIsPureFunc=True
FunctionReference=(MemberParent=“/Script/CoreUObject.Class’/Script/Engine.KismetMathLibrary’”,MemberName=“Add_IntInt”)
NodePosX=1376
NodePosY=-112
NodeGuid=6368A7CF4165F9D593D4F9A3BC827AA9
CustomProperties Pin (PinId=1689572F45BFFD1BF226A7A1E26135D0,PinName=“A”,PinToolTip=“A\nInteger”,PinType.PinCategory=“int”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_VariableGet_3 850970E54574101E5931DCBC01312C95,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=121FF8D444338B7751C234A5193607A6,PinName=“B”,PinToolTip=“B\nInteger”,PinType.PinCategory=“int”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“1”,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=5938F6DD42FB8DCAF5E098AC2DB05C00,PinName=“ReturnValue”,PinToolTip=“Return Value\nInteger\n\nAddition (A + B)”,Direction=“EGPD_Output”,PinType.PinCategory=“int”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_CallFunction_1 73D18B81471225895DF3C0B05FD50918,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_VariableGet Name=“K2Node_VariableGet_4” ExportPath=“/Script/BlueprintGraph.K2Node_VariableGet’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_VariableGet_4’”
VariableReference=(MemberName=“patrolpoints”,MemberGuid=DD92633F45E133135DB517998AB30527,bSelfContext=True)
NodePosX=1280
NodePosY=32
NodeGuid=3ED2A32649D8B183152E54B2608CAE46
CustomProperties Pin (PinId=28D3701D48C4B4F87B97C7A1F44B5460,PinName=“patrolpoints”,Direction=“EGPD_Output”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/CoreUObject.Vector’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=Array,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_CallArrayFunction_0 CAFB62FD4CDCEB3149CA56A8AD16B3E3,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=B1CD7EAE45EC2BCCD36FF3A45DF18FD5,PinName=“self”,PinFriendlyName=NSLOCTEXT(“K2Node”, “Target”, “Target”),PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/Engine.BlueprintGeneratedClass’/Game/simplegaurdAi/simpleGaurd.simpleGaurd_C’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_CallArrayFunction Name=“K2Node_CallArrayFunction_0” ExportPath=“/Script/BlueprintGraph.K2Node_CallArrayFunction’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_CallArrayFunction_0’”
bIsPureFunc=True
FunctionReference=(MemberParent=“/Script/CoreUObject.Class’/Script/Engine.KismetArrayLibrary’”,MemberName=“Array_Length”)
NodePosX=1456
NodePosY=32
NodeGuid=0FB3DA914D1F59ACE98F88BA5DD9F433
CustomProperties Pin (PinId=9CB8215A4AAFD1319176C8A683FC093B,PinName=“self”,PinFriendlyName=NSLOCTEXT(“K2Node”, “Target”, “Target”),PinToolTip=“Target\nKismet Array Library Object Reference”,PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.Class’/Script/Engine.KismetArrayLibrary’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultObject=“/Script/Engine.Default__KismetArrayLibrary”,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=CAFB62FD4CDCEB3149CA56A8AD16B3E3,PinName=“TargetArray”,PinToolTip=“Target Array\nArray of Vectors\n\nThe array to get the length of *”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/CoreUObject.Vector’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=Array,PinType.bIsReference=True,PinType.bIsConst=True,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_VariableGet_4 28D3701D48C4B4F87B97C7A1F44B5460,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=True,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=894DBBC2458C0A9A4EB1758CE5DB45C9,PinName=“ReturnValue”,PinToolTip=“Return Value\nInteger\n\nThe length of the array”,Direction=“EGPD_Output”,PinType.PinCategory=“int”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“0”,AutogeneratedDefaultValue=“0”,LinkedTo=(K2Node_CallFunction_1 781FA4224F9AE059ACA2A491CCD5020C,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_CallFunction Name=“K2Node_CallFunction_1” ExportPath=“/Script/BlueprintGraph.K2Node_CallFunction’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_CallFunction_1’”
bIsPureFunc=True
FunctionReference=(MemberParent=“/Script/CoreUObject.Class’/Script/Engine.KismetMathLibrary’”,MemberName=“Percent_IntInt”)
NodePosX=1600
NodePosY=-96
NodeGuid=84F6F4164C5C3066FBD7B08F466BEFF2
CustomProperties Pin (PinId=E552C7FB408C3F43EC8B43B928F74E41,PinName=“self”,PinFriendlyName=NSLOCTEXT(“K2Node”, “Target”, “Target”),PinToolTip=“Target\nKismet Math Library Object Reference”,PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.Class’/Script/Engine.KismetMathLibrary’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultObject=“/Script/Engine.Default__KismetMathLibrary”,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=73D18B81471225895DF3C0B05FD50918,PinName=“A”,PinToolTip=“A\nInteger”,PinType.PinCategory=“int”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“0”,AutogeneratedDefaultValue=“0”,LinkedTo=(K2Node_PromotableOperator_0 5938F6DD42FB8DCAF5E098AC2DB05C00,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=781FA4224F9AE059ACA2A491CCD5020C,PinName=“B”,PinToolTip=“B\nInteger”,PinType.PinCategory=“int”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“1”,AutogeneratedDefaultValue=“1”,LinkedTo=(K2Node_CallArrayFunction_0 894DBBC2458C0A9A4EB1758CE5DB45C9,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=5F1FEE0B4BDA802C980CAF944A1BDF90,PinName=“ReturnValue”,PinToolTip=“Return Value\nInteger\n\nModulo (A % B)”,Direction=“EGPD_Output”,PinType.PinCategory=“int”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“0”,AutogeneratedDefaultValue=“0”,LinkedTo=(K2Node_VariableSet_0 A3B0EB25461404049CFB539BB36088C7,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_Knot Name=“K2Node_Knot_1” ExportPath=“/Script/BlueprintGraph.K2Node_Knot’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_Knot_1’”
NodePosX=336
NodePosY=-416
NodeGuid=9372B39642C04B8735C9BEAF5534F990
CustomProperties Pin (PinId=15E8AB4C4B4C98A1D46E9AA8D8723A5E,PinName=“InputPin”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_Knot_2 C4D3592A4E4A178FB9D257B35F169DFC,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=True,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=68D92FB24A0F684FEFD9FCA10FEA756D,PinName=“OutputPin”,Direction=“EGPD_Output”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_Knot_0 A45CCC614AE5FB90617E4DB2F7FA4D13,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_Knot Name=“K2Node_Knot_2” ExportPath=“/Script/BlueprintGraph.K2Node_Knot’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_Knot_2’”
NodePosX=1744
NodePosY=-416
NodeGuid=83D6BD5E43A783169CFDA1A8E5AD06C9
CustomProperties Pin (PinId=641FF3454E88591E258EDBB659F92B64,PinName=“InputPin”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_VariableSet_0 E27AA61A49E33BD5DA8DDE9C1B026EFF,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=True,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=C4D3592A4E4A178FB9D257B35F169DFC,PinName=“OutputPin”,Direction=“EGPD_Output”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_Knot_1 15E8AB4C4B4C98A1D46E9AA8D8723A5E,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_CallFunction Name=“K2Node_CallFunction_2” ExportPath=“/Script/BlueprintGraph.K2Node_CallFunction’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_CallFunction_2’”
FunctionReference=(MemberParent=“/Script/CoreUObject.Class’/Script/Engine.KismetSystemLibrary’”,MemberName=“Delay”)
NodePosX=1072
NodePosY=-256
NodeGuid=29A4D16041013111ABED79B383D41CD1
CustomProperties Pin (PinId=93A764ED4CFA655CABD8A79F984BC1A2,PinName=“execute”,PinToolTip=“\nExec”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_AIMoveTo_0 D93124EE4FF39CD8E6CF3A899E371424,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=CCC4CB0C481CEF70AC3161A3174920D3,PinName=“then”,PinFriendlyName=NSLOCTEXT(“”, “7AD1756546F4AB0686D2E9823C64B102”, “Completed”),PinToolTip=“Completed\nExec”,Direction=“EGPD_Output”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_VariableSet_0 FEF38361420E22E2973187A2E6A286E1,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=6BA49DED474E24C526924EB9A7E2DE60,PinName=“self”,PinFriendlyName=NSLOCTEXT(“K2Node”, “Target”, “Target”),PinToolTip=“Target\nKismet System Library Object Reference”,PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.Class’/Script/Engine.KismetSystemLibrary’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultObject=“/Script/Engine.Default__KismetSystemLibrary”,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=02588E7F404324BA5E9422AC2A3677D4,PinName=“WorldContextObject”,PinToolTip=“World Context Object\nObject Reference”,PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.Class’/Script/CoreUObject.Object’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=True,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=F54195D14AC30F2D49ACAD87B475861A,PinName=“Duration”,PinToolTip=“Duration\nFloat (single-precision)\n\nlength of delay (in seconds).”,PinType.PinCategory=“real”,PinType.PinSubCategory=“float”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“1.500000”,AutogeneratedDefaultValue=“0.2”,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=9E48BDB8439E78C0E4795EBE59D3A430,PinName=“LatentInfo”,PinToolTip=“Latent Info\nLatent Action Info Structure\n\nThe latent action.”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/Engine.LatentActionInfo’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“(Linkage=-1,UUID=-1,ExecutionFunction="",CallbackTarget=None)”,AutogeneratedDefaultValue=“LatentInfo”,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_CallFunction Name=“K2Node_CallFunction_5” ExportPath=“/Script/BlueprintGraph.K2Node_CallFunction’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_CallFunction_5’”
bIsPureFunc=True
FunctionReference=(MemberParent=“/Script/CoreUObject.Class’/Script/Engine.KismetMathLibrary’”,MemberName=“TransformLocation”)
NodePosX=432
NodePosY=-384
NodeGuid=DC681DD44574F19EB6482DA64CCE7A38
CustomProperties Pin (PinId=05C632904408D99AF33AC08E57A70A4D,PinName=“self”,PinFriendlyName=NSLOCTEXT(“K2Node”, “Target”, “Target”),PinToolTip=“Target\nKismet Math Library Object Reference”,PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.Class’/Script/Engine.KismetMathLibrary’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultObject=“/Script/Engine.Default__KismetMathLibrary”,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=D145356F4B2003D060DEDF9E2CD62FA0,PinName=“T”,PinToolTip=“T\nTransform (by ref)”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/CoreUObject.Transform’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=True,PinType.bIsConst=True,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_VariableGet_5 11BD3C594268DE07DB3730ADEADE5CEC,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=True,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=6DB34F7346C5CE5828603A83CB18D213,PinName=“Location”,PinToolTip=“Location\nVector”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/CoreUObject.Vector’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“0, 0, 0”,AutogeneratedDefaultValue=“0, 0, 0”,LinkedTo=(K2Node_GetArrayItem_0 E574D0AB4AB55D561D29859265D35510,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=3F7FF21540AAB09675994FABAC9C37ED,PinName=“ReturnValue”,PinToolTip=“Return Value\nVector\n\nTransform a position by the supplied transform.\nFor example, if T was an object's transform, this would transform a position from local space to world space.”,Direction=“EGPD_Output”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/CoreUObject.Vector’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,DefaultValue=“0, 0, 0”,AutogeneratedDefaultValue=“0, 0, 0”,LinkedTo=(K2Node_AIMoveTo_0 A8EF19604C07A00DFF93E3B453AA1303,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_CallFunction Name=“K2Node_CallFunction_8” ExportPath=“/Script/BlueprintGraph.K2Node_CallFunction’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_CallFunction_8’”
bIsPureFunc=True
bIsConstFunc=True
FunctionReference=(MemberName=“GetTransform”,bSelfContext=True)
NodePosX=-48
NodePosY=-432
NodeGuid=DBCC3DA44AD066E8FAA9FFBDF0E011B1
CustomProperties Pin (PinId=C51221CC420360CD866264A83FD08624,PinName=“self”,PinFriendlyName=NSLOCTEXT(“K2Node”, “Target”, “Target”),PinToolTip=“Target\nActor Object Reference”,PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.Class’/Script/Engine.Actor’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=3FB30F7749DE1A4FB2DDE29979F5AC9A,PinName=“ReturnValue”,PinToolTip=“Return Value\nTransform (by ref)\n\nThe transform that transforms from actor space to world space.”,Direction=“EGPD_Output”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/CoreUObject.Transform’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=True,PinType.bIsConst=True,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_VariableSet_3 C14276DC4736BBE1F353C2AF1761BDD7,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=True,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_VariableSet Name=“K2Node_VariableSet_3” ExportPath=“/Script/BlueprintGraph.K2Node_VariableSet’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_VariableSet_3’”
VariableReference=(MemberName=“initial transform”,MemberGuid=9818B5974F4687A37F9FF7AB28DB0647,bSelfContext=True)
NodePosX=48
NodePosY=-288
NodeGuid=86DBD70048E893DA122DCB95B7A3C7E2
CustomProperties Pin (PinId=763EB4FC4A60A87B88AF69A6C98F9E3F,PinName=“execute”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_Event_0 52027D414015ECD97D7550AC6C1D336E,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=E4522DF5448B270998E512A885AC43A4,PinName=“then”,Direction=“EGPD_Output”,PinType.PinCategory=“exec”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_Knot_0 A45CCC614AE5FB90617E4DB2F7FA4D13,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=C14276DC4736BBE1F353C2AF1761BDD7,PinName=“initial transform”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/CoreUObject.Transform’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_CallFunction_8 3FB30F7749DE1A4FB2DDE29979F5AC9A,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=68BE38CA4D8BAB2325A8D9B4B5D9E41D,PinName=“self”,PinFriendlyName=NSLOCTEXT(“K2Node”, “Target”, “Target”),PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/Engine.BlueprintGeneratedClass’/Game/simplegaurdAi/simpleGaurd.simpleGaurd_C’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=4ECE1BB64704F4CB17012F9D12655C52,PinName=“Output_Get”,PinToolTip=“Retrieves the value of the variable, can use instead of a separate Get node”,Direction=“EGPD_Output”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/CoreUObject.Transform’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/BlueprintGraph.K2Node_VariableGet Name=“K2Node_VariableGet_5” ExportPath=“/Script/BlueprintGraph.K2Node_VariableGet’/Game/simplegaurdAi/simpleGaurd.simpleGaurd:EventGraph.K2Node_VariableGet_5’”
VariableReference=(MemberName=“initial transform”,MemberGuid=9818B5974F4687A37F9FF7AB28DB0647,bSelfContext=True)
NodePosX=240
NodePosY=-352
NodeGuid=F9353A2D474B6F825705228269566AEE
CustomProperties Pin (PinId=11BD3C594268DE07DB3730ADEADE5CEC,PinName=“initial transform”,Direction=“EGPD_Output”,PinType.PinCategory=“struct”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/CoreUObject.ScriptStruct’/Script/CoreUObject.Transform’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,LinkedTo=(K2Node_CallFunction_5 D145356F4B2003D060DEDF9E2CD62FA0,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=357899214798170B9EB966A1CAEFF1A8,PinName=“self”,PinFriendlyName=NSLOCTEXT(“K2Node”, “Target”, “Target”),PinType.PinCategory=“object”,PinType.PinSubCategory=“”,PinType.PinSubCategoryObject=“/Script/Engine.BlueprintGeneratedClass’/Game/simplegaurdAi/simpleGaurd.simpleGaurd_C’”,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object

Ok its an advance but i need to him when go to a target then go next to other

The code I posted does exactly that.
At this point, I believe what you really need is to practice some debugging!