Hello all, I am new to unreal and blueprint, I am having problems wrapping my head on how to implement a mechanic for my game. I want to have it so enemis take more damage When they are moving. Any help is good help. Thank you!
Give this a shot,
Copy the text below and paste it into your enemy blueprint.
You may need to create 3 float variables
Health,
MaxDamageSpeed
SpeedDamageMultiplier
/ Kyle
Begin Object Class=K2Node_Event Name="K2Node_Event_171"
Begin Object Class=EdGraphPin Name="EdGraphPin_16666"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16665"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16664"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16663"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16662"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16661"
End Object
Begin Object Name="EdGraphPin_16666"
PinName="DamageCauser"
PinToolTip="Damage Causer
Actor Reference"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
End Object
Begin Object Name="EdGraphPin_16665"
PinName="InstigatedBy"
PinToolTip="Instigated By
Controller Reference"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Controller')
End Object
Begin Object Name="EdGraphPin_16664"
PinName="DamageType"
PinToolTip="Damage Type
Damage Type Reference"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.DamageType',bIsConst=True)
End Object
Begin Object Name="EdGraphPin_16663"
PinName="Damage"
PinToolTip="Damage
Float"
Direction=EGPD_Output
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_30.EdGraphPin_16779'
End Object
Begin Object Name="EdGraphPin_16662"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_38.EdGraphPin_16697'
End Object
Begin Object Name="EdGraphPin_16661"
PinName="OutputDelegate"
Direction=EGPD_Output
PinType=(PinCategory="delegate",PinSubCategoryMemberReference=(MemberParentClass=Class'/Script/Engine.Actor',MemberName="ReceiveAnyDamage"))
End Object
EventSignatureName="ReceiveAnyDamage"
EventSignatureClass=Class'/Script/Engine.Actor'
bOverrideFunction=True
Pins(0)=EdGraphPin'EdGraphPin_16661'
Pins(1)=EdGraphPin'EdGraphPin_16662'
Pins(2)=EdGraphPin'EdGraphPin_16663'
Pins(3)=EdGraphPin'EdGraphPin_16664'
Pins(4)=EdGraphPin'EdGraphPin_16665'
Pins(5)=EdGraphPin'EdGraphPin_16666'
NodePosX=-544
NodePosY=-384
NodeGuid=A19F53B049F18229A367089A10F50BCB
End Object
Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_106"
Begin Object Class=EdGraphPin Name="EdGraphPin_16680"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16679"
End Object
Begin Object Name="EdGraphPin_16680"
PinName="self"
PinFriendlyName="Target"
PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/Tests/NewBlueprint2.NewBlueprint2_C')
bHidden=True
End Object
Begin Object Name="EdGraphPin_16679"
PinName="Health"
Direction=EGPD_Output
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2198.EdGraphPin_16686'
End Object
VariableReference=(MemberName="Health",bSelfContext=True)
Pins(0)=EdGraphPin'EdGraphPin_16679'
Pins(1)=EdGraphPin'EdGraphPin_16680'
NodePosX=-16
NodePosY=-320
NodeComment="Enemy health"
bCommentBubbleVisible=True
NodeGuid=B836E6A0400858CF936E6782B9EAB750
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2198"
Begin Object Class=EdGraphPin Name="EdGraphPin_16688"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16687"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16686"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16685"
End Object
Begin Object Name="EdGraphPin_16688"
PinName="ReturnValue"
PinToolTip="Return Value
Float"
Direction=EGPD_Output
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_38.EdGraphPin_16699'
End Object
Begin Object Name="EdGraphPin_16687"
PinName="B"
PinToolTip="B
Float"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_30.EdGraphPin_16781'
End Object
Begin Object Name="EdGraphPin_16686"
PinName="A"
PinToolTip="A
Float"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_VariableGet_106.EdGraphPin_16679'
End Object
Begin Object Name="EdGraphPin_16685"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target
Kismet Math Library Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
DefaultObject=Default__KismetMathLibrary
bHidden=True
End Object
bIsPureFunc=True
FunctionReference=(MemberParentClass=Class'/Script/Engine.KismetMathLibrary',MemberName="Subtract_FloatFloat")
Pins(0)=EdGraphPin'EdGraphPin_16685'
Pins(1)=EdGraphPin'EdGraphPin_16686'
Pins(2)=EdGraphPin'EdGraphPin_16687'
Pins(3)=EdGraphPin'EdGraphPin_16688'
NodePosX=208
NodePosY=-304
NodeGuid=52B744904376E866E2DB1591C216DB54
End Object
Begin Object Class=K2Node_VariableSet Name="K2Node_VariableSet_38"
Begin Object Class=EdGraphPin Name="EdGraphPin_16701"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16700"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16699"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16698"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16697"
End Object
Begin Object Name="EdGraphPin_16701"
PinName="self"
PinFriendlyName="Target"
PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/Tests/NewBlueprint2.NewBlueprint2_C')
bHidden=True
End Object
Begin Object Name="EdGraphPin_16700"
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"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2203.EdGraphPin_16803'
End Object
Begin Object Name="EdGraphPin_16699"
PinName="Health"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2198.EdGraphPin_16688'
End Object
Begin Object Name="EdGraphPin_16698"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_IfThenElse_29.EdGraphPin_16790'
End Object
Begin Object Name="EdGraphPin_16697"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_Event_171.EdGraphPin_16662'
End Object
VariableReference=(MemberName="Health",bSelfContext=True)
Pins(0)=EdGraphPin'EdGraphPin_16697'
Pins(1)=EdGraphPin'EdGraphPin_16698'
Pins(2)=EdGraphPin'EdGraphPin_16699'
Pins(3)=EdGraphPin'EdGraphPin_16700'
Pins(4)=EdGraphPin'EdGraphPin_16701'
NodePosX=384
NodePosY=-368
NodeGuid=9051BF8E455453F6A8582890E6C24097
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2199"
Begin Object Class=EdGraphPin Name="EdGraphPin_16713"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16712"
End Object
Begin Object Name="EdGraphPin_16713"
PinName="ReturnValue"
PinToolTip="Return Value
Vector "
Direction=EGPD_Output
PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Object:Vector')
DefaultValue="0, 0, 0"
AutogeneratedDefaultValue="0, 0, 0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2200.EdGraphPin_16719'
End Object
Begin Object Name="EdGraphPin_16712"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target
Actor Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
End Object
bIsPureFunc=True
bIsConstFunc=True
FunctionReference=(MemberName="GetVelocity",bSelfContext=True)
Pins(0)=EdGraphPin'EdGraphPin_16712'
Pins(1)=EdGraphPin'EdGraphPin_16713'
NodePosX=-1136
NodePosY=-144
NodeGuid=70F5F303494E5F28BA6DA69015F9C0E2
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2200"
Begin Object Class=EdGraphPin Name="EdGraphPin_16720"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16719"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16718"
End Object
Begin Object Name="EdGraphPin_16720"
PinName="ReturnValue"
PinToolTip="Return Value
Float"
Direction=EGPD_Output
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2201.EdGraphPin_16728'
End Object
Begin Object Name="EdGraphPin_16719"
PinName="A"
PinToolTip="A
Vector "
PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Object:Vector')
DefaultValue="0, 0, 0"
AutogeneratedDefaultValue="0, 0, 0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2199.EdGraphPin_16713'
End Object
Begin Object Name="EdGraphPin_16718"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target
Kismet Math Library Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
DefaultObject=Default__KismetMathLibrary
bHidden=True
End Object
bIsPureFunc=True
FunctionReference=(MemberParentClass=Class'/Script/Engine.KismetMathLibrary',MemberName="VSize")
Pins(0)=EdGraphPin'EdGraphPin_16718'
Pins(1)=EdGraphPin'EdGraphPin_16719'
Pins(2)=EdGraphPin'EdGraphPin_16720'
NodePosX=-848
NodePosY=-128
NodeGuid=AA16277A41046A9ED15C2B88885BC24B
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2201"
Begin Object Class=EdGraphPin Name="EdGraphPin_16730"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16729"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16728"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16727"
End Object
Begin Object Name="EdGraphPin_16730"
PinName="ReturnValue"
PinToolTip="Return Value
Float"
Direction=EGPD_Output
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2202.EdGraphPin_16746'
End Object
Begin Object Name="EdGraphPin_16729"
PinName="B"
PinToolTip="B
Float"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_VariableGet_112.EdGraphPin_16739'
End Object
Begin Object Name="EdGraphPin_16728"
PinName="A"
PinToolTip="A
Float"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2200.EdGraphPin_16720'
End Object
Begin Object Name="EdGraphPin_16727"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target
Kismet Math Library Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
DefaultObject=Default__KismetMathLibrary
bHidden=True
End Object
bIsPureFunc=True
FunctionReference=(MemberParentClass=Class'/Script/Engine.KismetMathLibrary',MemberName="Divide_FloatFloat")
Pins(0)=EdGraphPin'EdGraphPin_16727'
Pins(1)=EdGraphPin'EdGraphPin_16728'
Pins(2)=EdGraphPin'EdGraphPin_16729'
Pins(3)=EdGraphPin'EdGraphPin_16730'
NodePosX=-592
NodePosY=-96
NodeGuid=714B26904FE798F15A7F0ABB4837FD91
End Object
Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_112"
Begin Object Class=EdGraphPin Name="EdGraphPin_16740"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16739"
End Object
Begin Object Name="EdGraphPin_16740"
PinName="self"
PinFriendlyName="Target"
PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/Tests/NewBlueprint2.NewBlueprint2_C')
bHidden=True
End Object
Begin Object Name="EdGraphPin_16739"
PinName="MaxDamageSpeed"
Direction=EGPD_Output
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2201.EdGraphPin_16729'
End Object
VariableReference=(MemberName="MaxDamageSpeed",bSelfContext=True)
Pins(0)=EdGraphPin'EdGraphPin_16739'
Pins(1)=EdGraphPin'EdGraphPin_16740'
NodePosX=-848
NodePosY=16
NodeComment="Max speed used to determine damage multiplier"
bCommentBubbleVisible=True
NodeGuid=5DB1CAB248EA1DC34799149076ED1B56
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2202"
Begin Object Class=EdGraphPin Name="EdGraphPin_16749"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16748"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16747"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16746"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16745"
End Object
Begin Object Name="EdGraphPin_16749"
PinName="ReturnValue"
PinToolTip="Return Value
Float"
Direction=EGPD_Output
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_29.EdGraphPin_16761'
End Object
Begin Object Name="EdGraphPin_16748"
PinName="Max"
PinToolTip="Max
Float"
PinType=(PinCategory="float")
DefaultValue="1.0"
AutogeneratedDefaultValue="1.0"
End Object
Begin Object Name="EdGraphPin_16747"
PinName="Min"
PinToolTip="Min
Float"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
End Object
Begin Object Name="EdGraphPin_16746"
PinName="Value"
PinToolTip="Value
Float"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2201.EdGraphPin_16730'
End Object
Begin Object Name="EdGraphPin_16745"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target
Kismet Math Library Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
DefaultObject=Default__KismetMathLibrary
bHidden=True
End Object
bIsPureFunc=True
FunctionReference=(MemberParentClass=Class'/Script/Engine.KismetMathLibrary',MemberName="FClamp")
Pins(0)=EdGraphPin'EdGraphPin_16745'
Pins(1)=EdGraphPin'EdGraphPin_16746'
Pins(2)=EdGraphPin'EdGraphPin_16747'
Pins(3)=EdGraphPin'EdGraphPin_16748'
Pins(4)=EdGraphPin'EdGraphPin_16749'
NodePosX=-416
NodePosY=-96
NodeGuid=969AEB264114F09585611AA7EB9FD918
End Object
Begin Object Class=K2Node_CommutativeAssociativeBinaryOperator Name="K2Node_CommutativeAssociativeBinaryOperator_29"
Begin Object Class=EdGraphPin Name="EdGraphPin_16763"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16762"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16761"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16760"
End Object
Begin Object Name="EdGraphPin_16763"
PinName="ReturnValue"
PinToolTip="Return Value
Float"
Direction=EGPD_Output
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_30.EdGraphPin_16780'
End Object
Begin Object Name="EdGraphPin_16762"
PinName="B"
PinToolTip="B
Float"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_VariableGet_114.EdGraphPin_16772'
End Object
Begin Object Name="EdGraphPin_16761"
PinName="A"
PinToolTip="A
Float"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2202.EdGraphPin_16749'
End Object
Begin Object Name="EdGraphPin_16760"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target
Kismet Math Library Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
DefaultObject=Default__KismetMathLibrary
bHidden=True
End Object
bIsPureFunc=True
FunctionReference=(MemberParentClass=Class'/Script/Engine.KismetMathLibrary',MemberName="Multiply_FloatFloat")
Pins(0)=EdGraphPin'EdGraphPin_16760'
Pins(1)=EdGraphPin'EdGraphPin_16761'
Pins(2)=EdGraphPin'EdGraphPin_16762'
Pins(3)=EdGraphPin'EdGraphPin_16763'
NodePosX=-160
NodePosY=-96
NodeGuid=95C3A2064E9473CC6989C39B2F458D59
End Object
Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_114"
Begin Object Class=EdGraphPin Name="EdGraphPin_16773"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16772"
End Object
Begin Object Name="EdGraphPin_16773"
PinName="self"
PinFriendlyName="Target"
PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/Tests/NewBlueprint2.NewBlueprint2_C')
bHidden=True
End Object
Begin Object Name="EdGraphPin_16772"
PinName="SpeedDamageMultiplier"
Direction=EGPD_Output
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_29.EdGraphPin_16762'
End Object
VariableReference=(MemberName="SpeedDamageMultiplier",bSelfContext=True)
Pins(0)=EdGraphPin'EdGraphPin_16772'
Pins(1)=EdGraphPin'EdGraphPin_16773'
NodePosX=-400
NodePosY=96
NodeComment="Ammount to scale damage based on speed. Eg. 2.0 for 2x damage"
bCommentBubbleVisible=True
NodeGuid=80997009478CD4F9720AC890DD223E9D
End Object
Begin Object Class=K2Node_CommutativeAssociativeBinaryOperator Name="K2Node_CommutativeAssociativeBinaryOperator_30"
Begin Object Class=EdGraphPin Name="EdGraphPin_16781"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16780"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16779"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16778"
End Object
Begin Object Name="EdGraphPin_16781"
PinName="ReturnValue"
PinToolTip="Return Value
Float"
Direction=EGPD_Output
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2198.EdGraphPin_16687'
End Object
Begin Object Name="EdGraphPin_16780"
PinName="B"
PinToolTip="B
Float"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CommutativeAssociativeBinaryOperator_29.EdGraphPin_16763'
End Object
Begin Object Name="EdGraphPin_16779"
PinName="A"
PinToolTip="A
Float"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_Event_171.EdGraphPin_16663'
End Object
Begin Object Name="EdGraphPin_16778"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target
Kismet Math Library Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
DefaultObject=Default__KismetMathLibrary
bHidden=True
End Object
bIsPureFunc=True
FunctionReference=(MemberParentClass=Class'/Script/Engine.KismetMathLibrary',MemberName="Multiply_FloatFloat")
Pins(0)=EdGraphPin'EdGraphPin_16778'
Pins(1)=EdGraphPin'EdGraphPin_16779'
Pins(2)=EdGraphPin'EdGraphPin_16780'
Pins(3)=EdGraphPin'EdGraphPin_16781'
NodePosY=-256
NodeGuid=1D6A956741F386D37DF809BE1B908CFA
End Object
Begin Object Class=K2Node_IfThenElse Name="K2Node_IfThenElse_29"
Begin Object Class=EdGraphPin Name="EdGraphPin_16793"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16792"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16791"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16790"
End Object
Begin Object Name="EdGraphPin_16793"
PinName="else"
PinFriendlyName="false"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_16792"
PinName="then"
PinFriendlyName="true"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_16791"
PinName="Condition"
PinType=(PinCategory="bool")
DefaultValue="false"
AutogeneratedDefaultValue="true"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2203.EdGraphPin_16805'
End Object
Begin Object Name="EdGraphPin_16790"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_38.EdGraphPin_16698'
End Object
Pins(0)=EdGraphPin'EdGraphPin_16790'
Pins(1)=EdGraphPin'EdGraphPin_16791'
Pins(2)=EdGraphPin'EdGraphPin_16792'
Pins(3)=EdGraphPin'EdGraphPin_16793'
NodePosX=784
NodePosY=-384
NodeComment="If True, kill enemy. If false do nothing"
bCommentBubbleVisible=True
NodeGuid=A701FF5B429245DE6B18DB8DB7C74E52
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2203"
Begin Object Class=EdGraphPin Name="EdGraphPin_16805"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16804"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16803"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_16802"
End Object
Begin Object Name="EdGraphPin_16805"
PinName="ReturnValue"
PinToolTip="Return Value
Boolean"
Direction=EGPD_Output
PinType=(PinCategory="bool")
DefaultValue="false"
AutogeneratedDefaultValue="false"
LinkedTo(0)=EdGraphPin'K2Node_IfThenElse_29.EdGraphPin_16791'
End Object
Begin Object Name="EdGraphPin_16804"
PinName="B"
PinToolTip="B
Float"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
End Object
Begin Object Name="EdGraphPin_16803"
PinName="A"
PinToolTip="A
Float"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_38.EdGraphPin_16700'
End Object
Begin Object Name="EdGraphPin_16802"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target
Kismet Math Library Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetMathLibrary')
DefaultObject=Default__KismetMathLibrary
bHidden=True
End Object
bIsPureFunc=True
FunctionReference=(MemberParentClass=Class'/Script/Engine.KismetMathLibrary',MemberName="LessEqual_FloatFloat")
Pins(0)=EdGraphPin'EdGraphPin_16802'
Pins(1)=EdGraphPin'EdGraphPin_16803'
Pins(2)=EdGraphPin'EdGraphPin_16804'
Pins(3)=EdGraphPin'EdGraphPin_16805'
NodePosX=592
NodePosY=-288
NodeGuid=D55DCC2443683A8C532131B1CFCB7690
End Object
Kyle, Thank you.
I will be attempting this tonight. Also your new game looks like fun cant wait to try it out good work!
Kyle, After some tweaking that worked perfectly. Its easily adjustable too.
Thank you so much!