require "UnLua" -- 1
local BTTask_RunAnywhere_C = Class() -- 2
function BTTask_RunAnywhere_C:Initialize() -- 3
end
function BTTask_RunAnywhere_C:ReceiveTick(OwnerActor,DeltaSeconds) --4
end
function BTTask_RunAnywhere_C:ReceiveExecute(OwnerActor) -- 4
local OwnerAIController = UE4.UAIBlueprintHelperLibrary.GetAIController(OwnerActor) -- 5
local actor = OwnerActor:Cast(UE4.AActor) -- 6
local loc = actor:K2_GetActorLocation()
local offset = UE4.FVector(100,100,100) -- 7
actor:K2_SetActorLocation(loc+offset) -- 7
end
return BTTask_RunAnywhere_C -- 2