Announcement

Collapse
No announcement yet.

Character That Follows Player Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Character That Follows Player Help

    I'm trying to make a character that follows the player character. The characters are Paper 2D but are moving in a 3D plane. For now, I am just trying to get the follower to spawn behind the player and then move in unison with them. The Follower spawns but doesn't move. What needs to be done in order to make the follower move with the player?

    Here is a picture of what the Player character blueprint looks like:
    Click image for larger version

Name:	FollowrIssue.PNG
Views:	1
Size:	181.0 KB
ID:	1161777

    #2
    this is the code i use for my followers, its in its own BP with the actor i spawn, not the character blueprint.
    you will need to delete the variable nodes "delta time" and create your own variable called delta time, then replace my nodes for that variable with the ones you create.
    here is the paste code.
    the 2 vector+vector nodes can be used to adjust the exact position it follows at aswell as the x400 (distance from you)

    Code:
    Begin Object Class=K2Node_Event Name="K2Node_Event_201"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18069"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18070"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18071"
       End Object
       Begin Object Name="EdGraphPin_18069"
          PinName="OutputDelegate"
          Direction=EGPD_Output
          PinType=(PinCategory="delegate",PinSubCategoryMemberReference=(MemberParent=Class'/Script/Engine.Actor',MemberName="ReceiveTick"))
       End Object
       Begin Object Name="EdGraphPin_18070"
          PinName="then"
          Direction=EGPD_Output
          PinType=(PinCategory="exec")
          LinkedTo(0)=EdGraphPin'K2Node_VariableSet_305.EdGraphPin_17946'
       End Object
       Begin Object Name="EdGraphPin_18071"
          PinName="DeltaSeconds"
          PinToolTip="Delta Seconds\nFloat"
          Direction=EGPD_Output
          PinType=(PinCategory="float")
          AutogeneratedDefaultValue="0.0"
          LinkedTo(0)=EdGraphPin'K2Node_VariableSet_305.EdGraphPin_17948'
       End Object
       EventReference=(MemberParent=Class'/Script/Engine.Actor',MemberName="ReceiveTick")
       bOverrideFunction=True
       Pins(0)=EdGraphPin'EdGraphPin_18069'
       Pins(1)=EdGraphPin'EdGraphPin_18070'
       Pins(2)=EdGraphPin'EdGraphPin_18071'
       NodePosX=1024
       NodePosY=400
       NodeGuid=EDB136D542470BEA7B88DBA58FEC6E85
    End Object
    Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_3115"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18078"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18079"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18080"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18081"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18082"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18083"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18084"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18085"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18086"
       End Object
       Begin Object Name="EdGraphPin_18078"
          PinName="execute"
          PinToolTip="\nExec"
          PinType=(PinCategory="exec")
          LinkedTo(0)=EdGraphPin'K2Node_VariableSet_305.EdGraphPin_17947'
       End Object
       Begin Object Name="EdGraphPin_18079"
          PinName="then"
          PinToolTip="\nExec"
          Direction=EGPD_Output
          PinType=(PinCategory="exec")
          LinkedTo(0)=EdGraphPin'K2Node_IfThenElse_144.EdGraphPin_17991'
       End Object
       Begin Object Name="EdGraphPin_18080"
          PinName="self"
          PinFriendlyName="Target"
          PinToolTip="Target\nActor Reference"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
       End Object
       Begin Object Name="EdGraphPin_18081"
          PinName="NewLocation"
          PinToolTip="New Location\nVector \n\nThe new location to teleport the Actor to."
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          DefaultValue="0, 0, 0"
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3148.EdGraphPin_18170'
       End Object
       Begin Object Name="EdGraphPin_18082"
          PinName="NewRotation"
          PinToolTip="New Rotation\nRotator \n\nThe new rotation for the Actor."
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Rotator')
          DefaultValue="0, 0, 0"
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3216.EdGraphPin_18192'
       End Object
       Begin Object Name="EdGraphPin_18083"
          PinName="bSweep"
          PinToolTip="Sweep\nBoolean\n\nWhether we sweep to the destination location, triggering overlaps along the way and stopping short of the target if blocked by something. Only the root component is swept and checked for blocking collision, child components move without sweeping. If collision is off, this has no effect."
          PinType=(PinCategory="bool")
          DefaultValue="false"
          AutogeneratedDefaultValue="false"
       End Object
       Begin Object Name="EdGraphPin_18084"
          PinName="SweepHitResult"
          PinToolTip="Sweep Hit Result\nHit Result Structure\n\nThe hit result from the move if swept."
          Direction=EGPD_Output
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/Engine.HitResult')
       End Object
       Begin Object Name="EdGraphPin_18085"
          PinName="bTeleport"
          PinToolTip="Teleport\nBoolean\n\nWhether we teleport the physics state (if physics collision is enabled for this object). If true, physics velocity for this object is unchanged (so ragdoll parts are not affected by change in location). If false, physics velocity is updated based on the change in position (affecting ragdoll parts). If CCD is on and not teleporting, this will affect objects along the entire swept volume."
          PinType=(PinCategory="bool")
          DefaultValue="false"
          AutogeneratedDefaultValue="false"
       End Object
       Begin Object Name="EdGraphPin_18086"
          PinName="ReturnValue"
          PinToolTip="Return Value\nBoolean\n\nWhether the rotation was successfully set."
          Direction=EGPD_Output
          PinType=(PinCategory="bool")
          DefaultValue="false"
          AutogeneratedDefaultValue="false"
       End Object
       FunctionReference=(MemberName="K2_SetActorLocationAndRotation",bSelfContext=True)
       Pins(0)=EdGraphPin'EdGraphPin_18078'
       Pins(1)=EdGraphPin'EdGraphPin_18079'
       Pins(2)=EdGraphPin'EdGraphPin_18080'
       Pins(3)=EdGraphPin'EdGraphPin_18081'
       Pins(4)=EdGraphPin'EdGraphPin_18082'
       Pins(5)=EdGraphPin'EdGraphPin_18083'
       Pins(6)=EdGraphPin'EdGraphPin_18084'
       Pins(7)=EdGraphPin'EdGraphPin_18085'
       Pins(8)=EdGraphPin'EdGraphPin_18086'
       NodePosX=1472
       NodePosY=416
       NodeGuid=AF9D596B45A6150E9C41939F8977491C
    End Object
    Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_3116"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18105"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18106"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18107"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18108"
       End Object
       Begin Object Name="EdGraphPin_18105"
          PinName="self"
          PinFriendlyName="Target"
          PinToolTip="Target\nGameplay Statics Reference"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.GameplayStatics')
          DefaultObject=Default__GameplayStatics
          bHidden=True
       End Object
       Begin Object Name="EdGraphPin_18106"
          PinName="WorldContextObject"
          PinToolTip="World Context Object\nObject Reference"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
          bHidden=True
       End Object
       Begin Object Name="EdGraphPin_18107"
          PinName="PlayerIndex"
          PinToolTip="Player Index\nInteger"
          PinType=(PinCategory="int")
          DefaultValue="0"
          AutogeneratedDefaultValue="0"
       End Object
       Begin Object Name="EdGraphPin_18108"
          PinName="ReturnValue"
          PinToolTip="Return Value\nCharacter Reference"
          Direction=EGPD_Output
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Character')
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3117.EdGraphPin_18117'
          LinkedTo(1)=EdGraphPin'K2Node_CallFunction_3149.EdGraphPin_18147'
       End Object
       bIsPureFunc=True
       FunctionReference=(MemberParent=Class'/Script/Engine.GameplayStatics',MemberName="GetPlayerCharacter")
       Pins(0)=EdGraphPin'EdGraphPin_18105'
       Pins(1)=EdGraphPin'EdGraphPin_18106'
       Pins(2)=EdGraphPin'EdGraphPin_18107'
       Pins(3)=EdGraphPin'EdGraphPin_18108'
       NodePosX=-144
       NodePosY=544
       NodeGuid=407DC2584800AA9B9EFDEA9BD3A3F491
    End Object
    Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_3117"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18117"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18118"
       End Object
       Begin Object Name="EdGraphPin_18117"
          PinName="self"
          PinFriendlyName="Target"
          PinToolTip="Target\nActor Reference"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3116.EdGraphPin_18108'
       End Object
       Begin Object Name="EdGraphPin_18118"
          PinName="ReturnValue"
          PinToolTip="Return Value\nVector "
          Direction=EGPD_Output
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3145.EdGraphPin_18124'
       End Object
       bIsPureFunc=True
       bIsConstFunc=True
       FunctionReference=(MemberName="GetActorForwardVector",bSelfContext=True)
       Pins(0)=EdGraphPin'EdGraphPin_18117'
       Pins(1)=EdGraphPin'EdGraphPin_18118'
       NodePosX=176
       NodePosY=480
       NodeGuid=29E5B1D643DBB5E76503FC90E77900FF
    End Object
    Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_3145"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18123"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18124"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18125"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18126"
       End Object
       Begin Object Name="EdGraphPin_18123"
          PinName="self"
          PinFriendlyName="Target"
          PinToolTip="Target\nKismet Math Library Reference"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
          DefaultObject=Default__KismetMathLibrary
          bHidden=True
       End Object
       Begin Object Name="EdGraphPin_18124"
          PinName="A"
          PinToolTip="A\nVector "
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          DefaultValue="0, 0, 0"
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3117.EdGraphPin_18118'
       End Object
       Begin Object Name="EdGraphPin_18125"
          PinName="B"
          PinToolTip="B\nFloat"
          PinType=(PinCategory="float")
          DefaultValue="-1"
          AutogeneratedDefaultValue="0.0"
       End Object
       Begin Object Name="EdGraphPin_18126"
          PinName="ReturnValue"
          PinToolTip="Return Value\nVector "
          Direction=EGPD_Output
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4063.EdGraphPin_18136'
       End Object
       bIsPureFunc=True
       FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="Multiply_VectorFloat")
       Pins(0)=EdGraphPin'EdGraphPin_18123'
       Pins(1)=EdGraphPin'EdGraphPin_18124'
       Pins(2)=EdGraphPin'EdGraphPin_18125'
       Pins(3)=EdGraphPin'EdGraphPin_18126'
       NodePosX=448
       NodePosY=480
       NodeGuid=19BDFAC44E4AB0AFED4C1FB54C250FF6
    End Object
    Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_4063"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18135"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18136"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18137"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18138"
       End Object
       Begin Object Name="EdGraphPin_18135"
          PinName="self"
          PinFriendlyName="Target"
          PinToolTip="Target\nKismet Math Library Reference"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
          DefaultObject=Default__KismetMathLibrary
          bHidden=True
       End Object
       Begin Object Name="EdGraphPin_18136"
          PinName="A"
          PinToolTip="A\nVector "
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          DefaultValue="0, 0, 0"
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3145.EdGraphPin_18126'
       End Object
       Begin Object Name="EdGraphPin_18137"
          PinName="B"
          PinToolTip="B\nFloat"
          PinType=(PinCategory="float")
          DefaultValue="400"
          AutogeneratedDefaultValue="0.0"
       End Object
       Begin Object Name="EdGraphPin_18138"
          PinName="ReturnValue"
          PinToolTip="Return Value\nVector "
          Direction=EGPD_Output
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_126.EdGraphPin_18154'
       End Object
       bIsPureFunc=True
       FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="Multiply_VectorFloat")
       Pins(0)=EdGraphPin'EdGraphPin_18135'
       Pins(1)=EdGraphPin'EdGraphPin_18136'
       Pins(2)=EdGraphPin'EdGraphPin_18137'
       Pins(3)=EdGraphPin'EdGraphPin_18138'
       NodePosX=576
       NodePosY=496
       NodeGuid=688A30A5428173E3F89E08A11FFBD590
    End Object
    Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_3149"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18147"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18148"
       End Object
       Begin Object Name="EdGraphPin_18147"
          PinName="self"
          PinFriendlyName="Target"
          PinToolTip="Target\nActor Reference"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3116.EdGraphPin_18108'
       End Object
       Begin Object Name="EdGraphPin_18148"
          PinName="ReturnValue"
          PinToolTip="Return Value\nVector "
          Direction=EGPD_Output
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_243.EdGraphPin_18214'
          LinkedTo(1)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_140.EdGraphPin_18226'
       End Object
       bIsPureFunc=True
       bIsConstFunc=True
       FunctionReference=(MemberName="K2_GetActorLocation",bSelfContext=True)
       Pins(0)=EdGraphPin'EdGraphPin_18147'
       Pins(1)=EdGraphPin'EdGraphPin_18148'
       NodePosX=176
       NodePosY=560
       NodeGuid=39AD61104C241BCF78F6BDBAF87C5470
    End Object
    Begin Object Class=K2Node_CommutativeAssociativeBinaryOperator Name="K2Node_CommutativeAssociativeBinaryOperator_126"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18153"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18154"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18155"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18156"
       End Object
       Begin Object Name="EdGraphPin_18153"
          PinName="self"
          PinFriendlyName="Target"
          PinToolTip="Target\nKismet Math Library Reference"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
          DefaultObject=Default__KismetMathLibrary
          bHidden=True
       End Object
       Begin Object Name="EdGraphPin_18154"
          PinName="A"
          PinToolTip="A\nVector "
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          DefaultValue="0, 0, 0"
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_4063.EdGraphPin_18138'
       End Object
       Begin Object Name="EdGraphPin_18155"
          PinName="B"
          PinToolTip="B\nVector "
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          DefaultValue="0, 0, 0"
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_140.EdGraphPin_18228'
       End Object
       Begin Object Name="EdGraphPin_18156"
          PinName="ReturnValue"
          PinToolTip="Return Value\nVector "
          Direction=EGPD_Output
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3148.EdGraphPin_18167'
       End Object
       bIsPureFunc=True
       FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="Add_VectorVector")
       Pins(0)=EdGraphPin'EdGraphPin_18153'
       Pins(1)=EdGraphPin'EdGraphPin_18154'
       Pins(2)=EdGraphPin'EdGraphPin_18155'
       Pins(3)=EdGraphPin'EdGraphPin_18156'
       NodePosX=736
       NodePosY=544
       NodeGuid=D19427814777FBE759FA6D9DBB1003F2
    End Object
    Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_3148"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18165"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18166"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18167"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18168"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18169"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18170"
       End Object
       Begin Object Name="EdGraphPin_18165"
          PinName="self"
          PinFriendlyName="Target"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
          DefaultObject=Default__KismetMathLibrary
          bHidden=True
       End Object
       Begin Object Name="EdGraphPin_18166"
          PinName="Current"
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          DefaultValue="0, 0, 0"
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3147.EdGraphPin_18184'
       End Object
       Begin Object Name="EdGraphPin_18167"
          PinName="Target"
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          DefaultValue="0, 0, 0"
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_126.EdGraphPin_18156'
       End Object
       Begin Object Name="EdGraphPin_18168"
          PinName="DeltaTime"
          PinType=(PinCategory="float")
          DefaultValue="0.0"
          AutogeneratedDefaultValue="0.0"
          LinkedTo(0)=EdGraphPin'K2Node_VariableGet_604.EdGraphPin_17961'
       End Object
       Begin Object Name="EdGraphPin_18169"
          PinName="InterpSpeed"
          PinType=(PinCategory="float")
          DefaultValue="5"
          AutogeneratedDefaultValue="0.0"
       End Object
       Begin Object Name="EdGraphPin_18170"
          PinName="ReturnValue"
          Direction=EGPD_Output
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3115.EdGraphPin_18081'
       End Object
       bIsPureFunc=True
       FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="VInterpTo")
       Pins(0)=EdGraphPin'EdGraphPin_18165'
       Pins(1)=EdGraphPin'EdGraphPin_18166'
       Pins(2)=EdGraphPin'EdGraphPin_18167'
       Pins(3)=EdGraphPin'EdGraphPin_18168'
       Pins(4)=EdGraphPin'EdGraphPin_18169'
       Pins(5)=EdGraphPin'EdGraphPin_18170'
       NodePosX=960
       NodePosY=496
       NodeGuid=099E95BD45A92746A10991B580AFF111
    End Object
    Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_3147"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18183"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18184"
       End Object
       Begin Object Name="EdGraphPin_18183"
          PinName="self"
          PinFriendlyName="Target"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
       End Object
       Begin Object Name="EdGraphPin_18184"
          PinName="ReturnValue"
          Direction=EGPD_Output
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3148.EdGraphPin_18166'
       End Object
       bIsPureFunc=True
       bIsConstFunc=True
       FunctionReference=(MemberName="K2_GetActorLocation",bSelfContext=True)
       Pins(0)=EdGraphPin'EdGraphPin_18183'
       Pins(1)=EdGraphPin'EdGraphPin_18184'
       NodePosX=704
       NodePosY=448
       NodeGuid=3F340AA2458A46A4F9AE8FA1D9373868
    End Object
    Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_3216"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18189"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18190"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18191"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18192"
       End Object
       Begin Object Name="EdGraphPin_18189"
          PinName="self"
          PinFriendlyName="Target"
          PinToolTip="Target\nKismet Math Library Reference"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
          DefaultObject=Default__KismetMathLibrary
          bHidden=True
       End Object
       Begin Object Name="EdGraphPin_18190"
          PinName="Start"
          PinToolTip="Start\nVector  (by ref)"
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector',bIsReference=True,bIsConst=True)
          DefaultValue="0, 0, 0"
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3241.EdGraphPin_18202'
          bDefaultValueIsIgnored=True
       End Object
       Begin Object Name="EdGraphPin_18191"
          PinName="Target"
          PinToolTip="Target\nVector  (by ref)"
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector',bIsReference=True,bIsConst=True)
          DefaultValue="0, 0, 0"
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_243.EdGraphPin_18216'
          bDefaultValueIsIgnored=True
       End Object
       Begin Object Name="EdGraphPin_18192"
          PinName="ReturnValue"
          PinToolTip="Return Value\nRotator "
          Direction=EGPD_Output
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Rotator')
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3115.EdGraphPin_18082'
       End Object
       bIsPureFunc=True
       FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="FindLookAtRotation")
       Pins(0)=EdGraphPin'EdGraphPin_18189'
       Pins(1)=EdGraphPin'EdGraphPin_18190'
       Pins(2)=EdGraphPin'EdGraphPin_18191'
       Pins(3)=EdGraphPin'EdGraphPin_18192'
       NodePosX=1248
       NodePosY=560
       NodeGuid=40A6E415492B7E7EA48888BAEFA8918F
    End Object
    Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_3241"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18201"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18202"
       End Object
       Begin Object Name="EdGraphPin_18201"
          PinName="self"
          PinFriendlyName="Target"
          PinToolTip="Target\nActor Reference"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
       End Object
       Begin Object Name="EdGraphPin_18202"
          PinName="ReturnValue"
          PinToolTip="Return Value\nVector "
          Direction=EGPD_Output
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3216.EdGraphPin_18190'
       End Object
       bIsPureFunc=True
       bIsConstFunc=True
       FunctionReference=(MemberName="K2_GetActorLocation",bSelfContext=True)
       Pins(0)=EdGraphPin'EdGraphPin_18201'
       Pins(1)=EdGraphPin'EdGraphPin_18202'
       NodePosX=976
       NodePosY=656
       NodeGuid=DEB8BA1F4FF54FF47AB3CA9BC0260804
    End Object
    Begin Object Class=K2Node_VariableSet Name="K2Node_VariableSet_305"
       Begin Object Class=EdGraphPin Name="EdGraphPin_17946"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_17947"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_17948"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_17949"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_17950"
       End Object
       Begin Object Name="EdGraphPin_17946"
          PinName="execute"
          PinType=(PinCategory="exec")
          LinkedTo(0)=EdGraphPin'K2Node_Event_201.EdGraphPin_18070'
       End Object
       Begin Object Name="EdGraphPin_17947"
          PinName="then"
          Direction=EGPD_Output
          PinType=(PinCategory="exec")
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3115.EdGraphPin_18078'
       End Object
       Begin Object Name="EdGraphPin_17948"
          PinName="DeltaTime"
          PinType=(PinCategory="float")
          DefaultValue="0.0"
          AutogeneratedDefaultValue="0.0"
          LinkedTo(0)=EdGraphPin'K2Node_Event_201.EdGraphPin_18071'
       End Object
       Begin Object Name="EdGraphPin_17949"
          PinName="Output_Get"
          PinToolTip="Retrieves the value of the variable, can use instead of a separate Get node"
          Direction=EGPD_Output
          PinType=(PinCategory="float")
          DefaultValue="0.0"
          AutogeneratedDefaultValue="0.0"
       End Object
       Begin Object Name="EdGraphPin_17950"
          PinName="self"
          PinFriendlyName="Target"
          PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/2d_render_chase_cams/ChaseCam/ActionBot.ActionBot_C')
          bHidden=True
       End Object
       VariableReference=(MemberName="DeltaTime",MemberGuid=592751E0422EAE3A18261FB6D368412C,bSelfContext=True)
       Pins(0)=EdGraphPin'EdGraphPin_17946'
       Pins(1)=EdGraphPin'EdGraphPin_17947'
       Pins(2)=EdGraphPin'EdGraphPin_17948'
       Pins(3)=EdGraphPin'EdGraphPin_17949'
       Pins(4)=EdGraphPin'EdGraphPin_17950'
       NodePosX=1216
       NodePosY=416
       NodeGuid=A7EA500941A9665E1E8A228F53759951
    End Object
    Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_604"
       Begin Object Class=EdGraphPin Name="EdGraphPin_17961"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_17962"
       End Object
       Begin Object Name="EdGraphPin_17961"
          PinName="DeltaTime"
          Direction=EGPD_Output
          PinType=(PinCategory="float")
          AutogeneratedDefaultValue="0.0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3148.EdGraphPin_18168'
       End Object
       Begin Object Name="EdGraphPin_17962"
          PinName="self"
          PinFriendlyName="Target"
          PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/2d_render_chase_cams/ChaseCam/ActionBot.ActionBot_C')
          bHidden=True
       End Object
       VariableReference=(MemberName="DeltaTime",bSelfContext=True)
       Pins(0)=EdGraphPin'EdGraphPin_17961'
       Pins(1)=EdGraphPin'EdGraphPin_17962'
       NodePosX=768
       NodePosY=656
       NodeGuid=32B4B2B848356D47195C899EF2524907
    End Object
    Begin Object Class=K2Node_CommutativeAssociativeBinaryOperator Name="K2Node_CommutativeAssociativeBinaryOperator_243"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18213"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18214"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18215"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18216"
       End Object
       Begin Object Name="EdGraphPin_18213"
          PinName="self"
          PinFriendlyName="Target"
          PinToolTip="Target\nKismet Math Library Reference"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
          DefaultObject=Default__KismetMathLibrary
          bHidden=True
       End Object
       Begin Object Name="EdGraphPin_18214"
          PinName="A"
          PinToolTip="A\nVector "
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          DefaultValue="0, 0, 0"
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3149.EdGraphPin_18148'
       End Object
       Begin Object Name="EdGraphPin_18215"
          PinName="B"
          PinToolTip="B\nVector "
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          DefaultValue="0, 0,0.000000"
          AutogeneratedDefaultValue="0, 0, 0"
       End Object
       Begin Object Name="EdGraphPin_18216"
          PinName="ReturnValue"
          PinToolTip="Return Value\nVector "
          Direction=EGPD_Output
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3216.EdGraphPin_18191'
       End Object
       bIsPureFunc=True
       FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="Add_VectorVector")
       Pins(0)=EdGraphPin'EdGraphPin_18213'
       Pins(1)=EdGraphPin'EdGraphPin_18214'
       Pins(2)=EdGraphPin'EdGraphPin_18215'
       Pins(3)=EdGraphPin'EdGraphPin_18216'
       NodePosX=960
       NodePosY=752
       NodeGuid=92345D6847A41F0ACBF68399ADED70F1
    End Object
    Begin Object Class=K2Node_CommutativeAssociativeBinaryOperator Name="K2Node_CommutativeAssociativeBinaryOperator_140"
       Begin Object Class=EdGraphPin Name="EdGraphPin_18225"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18226"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18227"
       End Object
       Begin Object Class=EdGraphPin Name="EdGraphPin_18228"
       End Object
       Begin Object Name="EdGraphPin_18225"
          PinName="self"
          PinFriendlyName="Target"
          PinToolTip="Target\nKismet Math Library Reference"
          PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
          DefaultObject=Default__KismetMathLibrary
          bHidden=True
       End Object
       Begin Object Name="EdGraphPin_18226"
          PinName="A"
          PinToolTip="A\nVector "
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          DefaultValue="0, 0, 0"
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3149.EdGraphPin_18148'
       End Object
       Begin Object Name="EdGraphPin_18227"
          PinName="B"
          PinToolTip="B\nVector "
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          DefaultValue="0, 0,250.000000"
          AutogeneratedDefaultValue="0, 0, 0"
       End Object
       Begin Object Name="EdGraphPin_18228"
          PinName="ReturnValue"
          PinToolTip="Return Value\nVector "
          Direction=EGPD_Output
          PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
          AutogeneratedDefaultValue="0, 0, 0"
          LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_126.EdGraphPin_18155'
       End Object
       bIsPureFunc=True
       FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="Add_VectorVector")
       Pins(0)=EdGraphPin'EdGraphPin_18225'
       Pins(1)=EdGraphPin'EdGraphPin_18226'
       Pins(2)=EdGraphPin'EdGraphPin_18227'
       Pins(3)=EdGraphPin'EdGraphPin_18228'
       NodePosX=432
       NodePosY=576
       NodeGuid=94BE05C54B5A98974C564A841F27D823
    End Object
    Attached Files
    Last edited by ixicalibur; 09-24-2015, 09:22 PM.
    CEO of Prydetech

    https://www.artstation.com/ixicalibur

    Originally posted by ixicalibur
    Here you go, this is a link to every tutorial you could ever need plus instructions to access all the collective knowledge of mankind: [Super massive awesome link that every amazing game developer uses to instantly learn to be super awesome at making stuff]

    Comment


      #3
      Originally posted by ixicalibur View Post
      this is the code i use for my followers, its in its own BP with the actor i spawn, not the character blueprint.
      you will need to delete the variable nodes "delta time" and create your own variable called delta time, then replace my nodes for that variable with the ones you create.
      here is the paste code.
      the 2 vector+vector nodes can be used to adjust the exact position it follows at aswell as the x400 (distance from you)
      That's amazing, thank you so much. This is probably the best response I've ever got from anyone on the internet.

      Once I have it working with the sprites, I'll post what the BP ends up looking like. Thanks again!

      Comment

      Working...
      X