2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "BlueprintGraphPrivatePCH.h"
|
|
|
|
|
#include "CompilerResultsLog.h"
|
2014-05-29 17:06:50 -04:00
|
|
|
#include "Blueprint/AIBlueprintHelperLibrary.h"
|
|
|
|
|
#include "Blueprint/AIAsyncTaskBlueprintProxy.h"
|
2014-05-29 16:42:22 -04:00
|
|
|
#include "K2Node_AIMoveTo.h"
|
2014-07-14 14:09:47 -04:00
|
|
|
#include "EditorCategoryUtils.h"
|
2014-03-14 14:13:41 -04:00
|
|
|
|
2014-04-23 18:30:37 -04:00
|
|
|
#define LOCTEXT_NAMESPACE "K2Node_AIMoveTo"
|
|
|
|
|
|
2014-10-14 10:29:11 -04:00
|
|
|
UK2Node_AIMoveTo::UK2Node_AIMoveTo(const FObjectInitializer& ObjectInitializer)
|
|
|
|
|
: Super(ObjectInitializer)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
2014-05-29 17:06:50 -04:00
|
|
|
ProxyFactoryFunctionName = GET_FUNCTION_NAME_CHECKED(UAIBlueprintHelperLibrary, CreateMoveToProxyObject);
|
|
|
|
|
ProxyFactoryClass = UAIBlueprintHelperLibrary::StaticClass();
|
|
|
|
|
ProxyClass = UAIAsyncTaskBlueprintProxy::StaticClass();
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
2014-07-14 14:09:47 -04:00
|
|
|
FText UK2Node_AIMoveTo::GetMenuCategory() const
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
2014-08-29 11:00:10 -04:00
|
|
|
return FEditorCategoryUtils::GetCommonCategory(FCommonEditorCategory::AI);
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
2014-09-03 18:14:09 -04:00
|
|
|
FText UK2Node_AIMoveTo::GetTooltipText() const
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
2014-09-03 18:14:09 -04:00
|
|
|
return LOCTEXT("AIMoveTo_Tooltip", "Simple order for Pawn with AIController to move to a specific location");
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
2014-04-23 18:30:37 -04:00
|
|
|
FText UK2Node_AIMoveTo::GetNodeTitle(ENodeTitleType::Type TitleType) const
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
2014-04-23 18:30:37 -04:00
|
|
|
return LOCTEXT("AIMoveTo", "AI MoveTo");
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
2014-04-23 18:30:37 -04:00
|
|
|
#undef LOCTEXT_NAMESPACE
|
|
|
|
|
|
|
|
|
|
|