https://www.youtube.com/watch?v=5NuLsycksvU
DOWNLOAD World FILE HERE. With working images.
1. First Create a Folder in Content and name it UMG
2. Then create a (Right Click) User Interface>Widget Blueprint
Name It GameMode.
EDIT
-Go
into Character BP.
-Create
a Variable and make it into a float and name it a health.
3. *Go back to wideget/BP that you created.
Called Gamemode. And open it.
4. Go
to panel and select Horizontal Box and drag it to Canvas Panel
5.
Place bar where you want it.
6.
Then go Common panel and grab two vertical
bars and place it on Horizontal box.
7.
The Grab Text and put it on first vertical
bar
8. The
grab the progress bar put it on the
second vertical box.
9.
Select the Text box and in the Detail panel. Go to Content and text and name
it. HEALTH.
10.
Click the progress bar
And rename
it in the detail panel. Name it HealthBar
11.
The hit fill in the detail panel.
The
grab heatlh bar and pulled it to the right.
12. I
changed the tint to get different colour of Health bar
13. Select the healthBar and in the Dratil Panel.
Go to Progress BAR and hit bind and create.This will go to a new
graph event for the Heath bar.
14.
The Right click get player Character
.
15.
The cast to third person (first person if using one)
16.
Then connect the Get Health Bar Fill Color 0 to Cast to thirdPerson
17.
Then connect to Cast to thirdPerson to the ReturnNode.
18.
Then in the Cast tothirdPerson grab the blue As the Third Person.
And type get Health.
19.
The connect health to the Return Node
20. COMPILE
AND Save
If
you play. You cant see it. So, you have activate it in the thirdPerson Character BluePrint
21.
RightClick Event BeginPlay.
22.
Type Create Widget.
23.
In the widget choose the infaceWidget you created first.
24
The drag from createWidget and type set
health Bar.
25.
Then in the Reutn Value drag and type add
to Viewport.
26.
Then connect SET to Viewport
COMPILE
AND SAVE…
But
nothing is killing aor causing….. Lets create mine that blows up character.
1. Create a blueprint and choose Actor and name it
MineKIll
2. Double click it and in the
Component and Choose boXCollision and name it Boom.
And make it bigger.
Un
Check Hidden Visible in Game.
3.
Then in the Detail Panel Click on Component Begin Overlap.
4.
The Grab Other Actor and type cast thirdPerson.
5.
The from CastThirdPerson type setHealth.
6.
Right Click anywhere and type –
Float.
7.
Then from set Health drag Health to –Float
8.
Then from Top –Float type Get Health and connect
it to Cast To thirdPerson.
9.
The in –Float change 1 to .25
10.
The from < drag and type quitGame.
COMPILE AND SAVE
11.
Then grab the MineKill and put it into the world….
Test and Play
12.
Then in the Set Drag and type compareFloat and connect.
13.
Then in the compareFloat Change
Compare With to Zero
BAD DIRECTION Below
1. First Create a Folder in Content and name it UMG
2. Then create a (Right Click) User Interface>Widget Blueprint
Name It GameMode.
3. Double Click it and start to Design your Health bar.
a. Create Horizontal Box Under Panels in Palete Tab. You have to Drag it to Canvas Panel.
c. In the 1st Vertical Bar Drag Text and Name it Health.
d. Then Drag Progress Bar in Common Tab. To Horizontal Box. Name it Health Bar.
e. The Select Health Bar and hit the Bind Key in Progress Tab.
f.
Here is the Code (XXX) for this.
Begin Object Class=K2Node_FunctionEntry Name="K2Node_FunctionEntry_633"
Begin Object Class=EdGraphPin Name="EdGraphPin_2820"
End Object
Begin Object Name="EdGraphPin_2820"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_539.EdGraphPin_3712'
End Object
ExtraFlags=469893120
SignatureName="Get_HealthBar_Percent_0"
bIsEditable=True
Pins(0)=EdGraphPin'EdGraphPin_2820'
NodePosX=400
NodePosY=-96
NodeGuid=2221DB8745953209303CD58B53F74788
End Object
Begin Object Class=K2Node_FunctionResult Name="K2Node_FunctionResult_0"
Begin Object Class=EdGraphPin Name="EdGraphPin_2792"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_2793"
End Object
Begin Object Name="EdGraphPin_2792"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_539.EdGraphPin_3713'
End Object
Begin Object Name="EdGraphPin_2793"
PinName="ReturnValue"
PinType=(PinCategory="float")
DefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_VariableGet_197.EdGraphPin_3730'
End Object
SignatureName="Get_HealthBar_Percent_0"
bIsEditable=True
Pins(0)=EdGraphPin'EdGraphPin_2792'
Pins(1)=EdGraphPin'EdGraphPin_2793'
NodePosX=1120
NodePosY=16
NodeGuid=0CD5D54E41A5FF4CC590B5AAF3AB1A0B
CustomProperties UserDefinedPin Name="ReturnValue" IsArray=0 IsReference=0 Category=float
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_3641"
Begin Object Class=EdGraphPin Name="EdGraphPin_3700"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3701"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3702"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3703"
End Object
Begin Object Name="EdGraphPin_3700"
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_3701"
PinName="WorldContextObject"
PinToolTip="World Context Object\nObject Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
bHidden=True
End Object
Begin Object Name="EdGraphPin_3702"
PinName="PlayerIndex"
PinToolTip="Player Index\nInteger"
PinType=(PinCategory="int")
DefaultValue="0"
AutogeneratedDefaultValue="0"
End Object
Begin Object Name="EdGraphPin_3703"
PinName="ReturnValue"
PinToolTip="Return Value\nCharacter Reference"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Character')
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_539.EdGraphPin_3715'
End Object
bIsPureFunc=True
FunctionReference=(MemberParent=Class'/Script/Engine.GameplayStatics',MemberName="GetPlayerCharacter")
Pins(0)=EdGraphPin'EdGraphPin_3700'
Pins(1)=EdGraphPin'EdGraphPin_3701'
Pins(2)=EdGraphPin'EdGraphPin_3702'
Pins(3)=EdGraphPin'EdGraphPin_3703'
NodePosX=368
NodePosY=176
NodeGuid=B77F8BF9479C71C62F4FBDBABF5DEA31
End Object
Begin Object Class=K2Node_DynamicCast Name="K2Node_DynamicCast_539"
Begin Object Class=EdGraphPin Name="EdGraphPin_3712"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3713"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3714"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3715"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3716"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3717"
End Object
Begin Object Name="EdGraphPin_3712"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_FunctionEntry_633.EdGraphPin_2820'
End Object
Begin Object Name="EdGraphPin_3713"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_FunctionResult_0.EdGraphPin_2792'
End Object
Begin Object Name="EdGraphPin_3714"
PinName="CastFailed"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_3715"
PinName="Object"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3641.EdGraphPin_3703'
End Object
Begin Object Name="EdGraphPin_3716"
PinName="AsThird Person Character"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C')
LinkedTo(0)=EdGraphPin'K2Node_VariableGet_197.EdGraphPin_3731'
End Object
Begin Object Name="EdGraphPin_3717"
PinName="bSuccess"
Direction=EGPD_Output
PinType=(PinCategory="bool")
bHidden=True
End Object
TargetType=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C'
Pins(0)=EdGraphPin'EdGraphPin_3712'
Pins(1)=EdGraphPin'EdGraphPin_3713'
Pins(2)=EdGraphPin'EdGraphPin_3714'
Pins(3)=EdGraphPin'EdGraphPin_3715'
Pins(4)=EdGraphPin'EdGraphPin_3716'
Pins(5)=EdGraphPin'EdGraphPin_3717'
NodePosX=640
NodePosY=32
ErrorType=4
ErrorMsg="Info The execution path doesn\'t end with a return node. Cast Failed "
NodeGuid=F7AE15BA4FB55E0B0191158387454037
End Object
Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_197"
Begin Object Class=EdGraphPin Name="EdGraphPin_3730"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3731"
End Object
Begin Object Name="EdGraphPin_3730"
PinName="Health"
Direction=EGPD_Output
PinType=(PinCategory="float")
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_FunctionResult_0.EdGraphPin_2793'
End Object
Begin Object Name="EdGraphPin_3731"
PinName="self"
PinFriendlyName="Target"
PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C')
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_539.EdGraphPin_3716'
End Object
VariableReference=(MemberParent=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C',MemberName="Health",MemberGuid=FF2FAA7E4B34BA8B9824748B042834B4)
SelfContextInfo=NotSelfContext
Pins(0)=EdGraphPin'EdGraphPin_3730'
Pins(1)=EdGraphPin'EdGraphPin_3731'
NodePosX=928
NodePosY=160
NodeGuid=AB0B93C1491881BE164122AF25E1E79F
End Object
g. Then in the First or Third Character.
The Code.
Begin Object Class=K2Node_Event Name="K2Node_Event_430"
Begin Object Class=EdGraphPin Name="EdGraphPin_3021"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3022"
End Object
Begin Object Name="EdGraphPin_3021"
PinName="OutputDelegate"
Direction=EGPD_Output
PinType=(PinCategory="delegate",PinSubCategoryMemberReference=(MemberParent=Class'/Script/Engine.Actor',MemberName="ReceiveBeginPlay"))
End Object
Begin Object Name="EdGraphPin_3022"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_CreateWidget_83.EdGraphPin_3983'
End Object
EventReference=(MemberParent=Class'/Script/Engine.Actor',MemberName="ReceiveBeginPlay")
bOverrideFunction=True
Pins(0)=EdGraphPin'EdGraphPin_3021'
Pins(1)=EdGraphPin'EdGraphPin_3022'
NodePosX=-93
NodePosY=1128
NodeGuid=CC7B0CF647B89E0668963BA17D5EE644
End Object
Begin Object Class=K2Node_CreateWidget Name="K2Node_CreateWidget_83"
Begin Object Class=EdGraphPin Name="EdGraphPin_3983"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3984"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3985"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3986"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3987"
End Object
Begin Object Name="EdGraphPin_3983"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_Event_430.EdGraphPin_3022'
End Object
Begin Object Name="EdGraphPin_3984"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_233.EdGraphPin_3998'
End Object
Begin Object Name="EdGraphPin_3985"
PinName="Class"
PinToolTip="User Widget Class Class\nThe object class you want to spawn"
PinType=(PinCategory="class",PinSubCategoryObject=Class'/Script/UMG.UserWidget')
DefaultObject=WidgetBlueprintGeneratedClass'/Game/UMG/GameMode.GameMode_C'
End Object
Begin Object Name="EdGraphPin_3986"
PinName="ReturnValue"
PinToolTip="User Widget Reference Return Value\nThe spawned object"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=WidgetBlueprintGeneratedClass'/Game/UMG/GameMode.GameMode_C')
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_233.EdGraphPin_4002'
LinkedTo(1)=EdGraphPin'K2Node_CallFunction_3827.EdGraphPin_4015'
End Object
Begin Object Name="EdGraphPin_3987"
PinName="OwningPlayer"
PinToolTip="Player Controller Reference Owning Player\nThe player that \'owns\' the widget."
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.PlayerController')
End Object
Pins(0)=EdGraphPin'EdGraphPin_3983'
Pins(1)=EdGraphPin'EdGraphPin_3984'
Pins(2)=EdGraphPin'EdGraphPin_3985'
Pins(3)=EdGraphPin'EdGraphPin_3986'
Pins(4)=EdGraphPin'EdGraphPin_3987'
NodePosX=147
NodePosY=1112
NodeGuid=E0EB084F4FE9FD37361BC6A714994CBF
End Object
Begin Object Class=K2Node_VariableSet Name="K2Node_VariableSet_233"
Begin Object Class=EdGraphPin Name="EdGraphPin_3998"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_3999"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_4000"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_4001"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_4002"
End Object
Begin Object Name="EdGraphPin_3998"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_CreateWidget_83.EdGraphPin_3984'
End Object
Begin Object Name="EdGraphPin_3999"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3827.EdGraphPin_4013'
End Object
Begin Object Name="EdGraphPin_4000"
PinName="HealthBar"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/UMG.ProgressBar')
End Object
Begin Object Name="EdGraphPin_4001"
PinName="Output_Get"
PinToolTip="Retrieves the value of the variable, can use instead of a separate Get node"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/UMG.ProgressBar')
End Object
Begin Object Name="EdGraphPin_4002"
PinName="self"
PinFriendlyName="Target"
PinType=(PinCategory="object",PinSubCategoryObject=WidgetBlueprintGeneratedClass'/Game/UMG/GameMode.GameMode_C')
LinkedTo(0)=EdGraphPin'K2Node_CreateWidget_83.EdGraphPin_3986'
End Object
VariableReference=(MemberParent=WidgetBlueprintGeneratedClass'/Game/UMG/GameMode.GameMode_C',MemberName="HealthBar")
SelfContextInfo=NotSelfContext
Pins(0)=EdGraphPin'EdGraphPin_3998'
Pins(1)=EdGraphPin'EdGraphPin_3999'
Pins(2)=EdGraphPin'EdGraphPin_4000'
Pins(3)=EdGraphPin'EdGraphPin_4001'
Pins(4)=EdGraphPin'EdGraphPin_4002'
NodePosX=531
NodePosY=1096
NodeGuid=491883CC4538988596F9479F7A8E04D5
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_3827"
Begin Object Class=EdGraphPin Name="EdGraphPin_4013"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_4014"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_4015"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_4016"
End Object
Begin Object Name="EdGraphPin_4013"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_233.EdGraphPin_3999'
End Object
Begin Object Name="EdGraphPin_4014"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_4015"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target\nUser Widget Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/UMG.UserWidget')
LinkedTo(0)=EdGraphPin'K2Node_CreateWidget_83.EdGraphPin_3986'
End Object
Begin Object Name="EdGraphPin_4016"
PinName="ZOrder"
PinToolTip="ZOrder\nInteger\n\nThe higher the number, the more on top this widget will be."
PinType=(PinCategory="int")
DefaultValue="0"
AutogeneratedDefaultValue="0"
bAdvancedView=True
End Object
FunctionReference=(MemberParent=Class'/Script/UMG.UserWidget',MemberName="AddToViewport")
Pins(0)=EdGraphPin'EdGraphPin_4013'
Pins(1)=EdGraphPin'EdGraphPin_4014'
Pins(2)=EdGraphPin'EdGraphPin_4015'
Pins(3)=EdGraphPin'EdGraphPin_4016'
NodePosX=739
NodePosY=1320
NodeGuid=B5ED3B9D4FA0F44A01BC83A1F6E84F4D
AdvancedPinDisplay=Hidden
End Object
***Test and now the Health Bar is Showing. But nothing yet is damaging the player.
If you want to see damage. Here is when jump it will kill the player with 4 jumps.
Here is the Code
Begin Object Class=K2Node_InputAction Name="K2Node_InputAction_7"
Begin Object Class=EdGraphPin Name="EdGraphPin_21305"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_21306"
End Object
Begin Object Name="EdGraphPin_21305"
PinName="Pressed"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_68.EdGraphPin_21779'
End Object
Begin Object Name="EdGraphPin_21306"
PinName="Released"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
InputActionName="Jump"
Pins(0)=EdGraphPin'EdGraphPin_21305'
Pins(1)=EdGraphPin'EdGraphPin_21306'
NodePosX=1424
NodePosY=816
NodeGuid=CE80044146D7CE9DBC7011832ACE9FA6
End Object
Begin Object Class=K2Node_VariableSet Name="K2Node_VariableSet_68"
Begin Object Class=EdGraphPin Name="EdGraphPin_21779"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_21780"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_21781"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_21782"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_21783"
End Object
Begin Object Name="EdGraphPin_21779"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_InputAction_7.EdGraphPin_21305'
End Object
Begin Object Name="EdGraphPin_21780"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_MacroInstance_28.EdGraphPin_22237'
End Object
Begin Object Name="EdGraphPin_21781"
PinName="Health"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2434.EdGraphPin_21787'
End Object
Begin Object Name="EdGraphPin_21782"
PinName="self"
PinFriendlyName="Target"
PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C')
bHidden=True
End Object
Begin Object Name="EdGraphPin_21783"
PinName="Output_Get"
PinToolTip="Retrieves the value of the variable, can use instead of a separate Get node"
Direction=EGPD_Output
PinType=(PinCategory="float")
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_MacroInstance_28.EdGraphPin_22238'
End Object
VariableReference=(MemberName="Health",MemberGuid=FF2FAA7E4B34BA8B9824748B042834B4,bSelfContext=True)
Pins(0)=EdGraphPin'EdGraphPin_21779'
Pins(1)=EdGraphPin'EdGraphPin_21780'
Pins(2)=EdGraphPin'EdGraphPin_21781'
Pins(3)=EdGraphPin'EdGraphPin_21782'
Pins(4)=EdGraphPin'EdGraphPin_21783'
NodePosX=1632
NodePosY=832
NodeGuid=C9A15CFD40199C0C626740804316AF6B
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2434"
Begin Object Class=EdGraphPin Name="EdGraphPin_21784"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_21785"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_21786"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_21787"
End Object
Begin Object Name="EdGraphPin_21784"
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_21785"
PinName="A"
PinToolTip="A\nFloat"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_VariableGet_74.EdGraphPin_21788'
End Object
Begin Object Name="EdGraphPin_21786"
PinName="B"
PinToolTip="B\nFloat"
PinType=(PinCategory="float")
DefaultValue=".25"
AutogeneratedDefaultValue="1.000000"
End Object
Begin Object Name="EdGraphPin_21787"
PinName="ReturnValue"
PinToolTip="Return Value\nFloat"
Direction=EGPD_Output
PinType=(PinCategory="float")
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_68.EdGraphPin_21781'
End Object
bIsPureFunc=True
FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="Subtract_FloatFloat")
Pins(0)=EdGraphPin'EdGraphPin_21784'
Pins(1)=EdGraphPin'EdGraphPin_21785'
Pins(2)=EdGraphPin'EdGraphPin_21786'
Pins(3)=EdGraphPin'EdGraphPin_21787'
NodePosX=1456
NodePosY=944
NodeGuid=A1E3C47F415D61139ACBD9BCD9C7B2A5
End Object
Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_74"
Begin Object Class=EdGraphPin Name="EdGraphPin_21788"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_21789"
End Object
Begin Object Name="EdGraphPin_21788"
PinName="Health"
Direction=EGPD_Output
PinType=(PinCategory="float")
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2434.EdGraphPin_21785'
End Object
Begin Object Name="EdGraphPin_21789"
PinName="self"
PinFriendlyName="Target"
PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C')
bHidden=True
End Object
VariableReference=(MemberName="Health",MemberGuid=FF2FAA7E4B34BA8B9824748B042834B4,bSelfContext=True)
Pins(0)=EdGraphPin'EdGraphPin_21788'
Pins(1)=EdGraphPin'EdGraphPin_21789'
NodePosX=1264
NodePosY=944
NodeGuid=358FD7B94541F104400F44AD9DDAB7DF
End Object
Begin Object Class=K2Node_MacroInstance Name="K2Node_MacroInstance_28"
Begin Object Class=EdGraphPin Name="EdGraphPin_22242"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22241"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22240"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22239"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22238"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22237"
End Object
Begin Object Name="EdGraphPin_22242"
PinName="<"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2553.EdGraphPin_22802'
End Object
Begin Object Name="EdGraphPin_22241"
PinName="=="
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_22240"
PinName=">"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2648.EdGraphPin_22347'
End Object
Begin Object Name="EdGraphPin_22239"
PinName="CompareWith"
PinType=(PinCategory="float")
DefaultValue="0"
End Object
Begin Object Name="EdGraphPin_22238"
PinName="Input"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_68.EdGraphPin_21783'
End Object
Begin Object Name="EdGraphPin_22237"
PinName="Exec"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_68.EdGraphPin_21780'
End Object
MacroGraphReference=(MacroGraph=EdGraph'/Engine/EditorBlueprintResources/StandardMacros.StandardMacros:CompareFloat',GraphBlueprint=Blueprint'/Engine/EditorBlueprintResources/StandardMacros.StandardMacros',GraphGuid=586FC6AF485A689F086B5CA6629837B4)
Pins(0)=EdGraphPin'EdGraphPin_22237'
Pins(1)=EdGraphPin'EdGraphPin_22238'
Pins(2)=EdGraphPin'EdGraphPin_22239'
Pins(3)=EdGraphPin'EdGraphPin_22240'
Pins(4)=EdGraphPin'EdGraphPin_22241'
Pins(5)=EdGraphPin'EdGraphPin_22242'
NodePosX=1792
NodePosY=816
NodeGuid=298CAFA148D747D29C0289B007AA8645
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2648"
Begin Object Class=EdGraphPin Name="EdGraphPin_22354"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22353"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22352"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22351"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22350"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22349"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22348"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22347"
End Object
Begin Object Name="EdGraphPin_22354"
PinName="TextColor"
PinToolTip="Text Color\nLinear Color Structure\n\nWhether or not to print the output to the console"
PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.LinearColor')
DefaultValue="(R=0.000000,G=0.660000,B=1.000000,A=1.000000)"
AutogeneratedDefaultValue="(R=0.000000,G=0.660000,B=1.000000,A=1.000000)"
bAdvancedView=True
End Object
Begin Object Name="EdGraphPin_22353"
PinName="bPrintToLog"
PinToolTip="Print to Log\nBoolean\n\nWhether or not to print the output to the log"
PinType=(PinCategory="bool")
DefaultValue="true"
AutogeneratedDefaultValue="true"
bAdvancedView=True
End Object
Begin Object Name="EdGraphPin_22352"
PinName="bPrintToScreen"
PinToolTip="Print to Screen\nBoolean\n\nWhether or not to print the output to the screen"
PinType=(PinCategory="bool")
DefaultValue="true"
AutogeneratedDefaultValue="true"
bAdvancedView=True
End Object
Begin Object Name="EdGraphPin_22351"
PinName="InString"
PinToolTip="In String\nString\n\nThe string to log out"
PinType=(PinCategory="string")
DefaultValue="Still Alive"
AutogeneratedDefaultValue="Hello"
End Object
Begin Object Name="EdGraphPin_22350"
PinName="WorldContextObject"
PinToolTip="World Context Object\nObject Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
bHidden=True
End Object
Begin Object Name="EdGraphPin_22349"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target\nKismet System Library Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetSystemLibrary')
DefaultObject=Default__KismetSystemLibrary
bHidden=True
End Object
Begin Object Name="EdGraphPin_22348"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_22347"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_MacroInstance_28.EdGraphPin_22240'
End Object
FunctionReference=(MemberParent=Class'/Script/Engine.KismetSystemLibrary',MemberName="PrintString")
Pins(0)=EdGraphPin'EdGraphPin_22347'
Pins(1)=EdGraphPin'EdGraphPin_22348'
Pins(2)=EdGraphPin'EdGraphPin_22349'
Pins(3)=EdGraphPin'EdGraphPin_22350'
Pins(4)=EdGraphPin'EdGraphPin_22351'
Pins(5)=EdGraphPin'EdGraphPin_22352'
Pins(6)=EdGraphPin'EdGraphPin_22353'
Pins(7)=EdGraphPin'EdGraphPin_22354'
NodePosX=2016
NodePosY=816
NodeGuid=418CE2674E228B3D20A4A7A75E994F6C
AdvancedPinDisplay=Hidden
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2553"
Begin Object Class=EdGraphPin Name="EdGraphPin_22809"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22808"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22807"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22806"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22805"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22804"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22803"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_22802"
End Object
Begin Object Name="EdGraphPin_22809"
PinName="TextColor"
PinToolTip="Text Color\nLinear Color Structure\n\nWhether or not to print the output to the console"
PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.LinearColor')
DefaultValue="(R=0.000000,G=0.660000,B=1.000000,A=1.000000)"
AutogeneratedDefaultValue="(R=0.000000,G=0.660000,B=1.000000,A=1.000000)"
bAdvancedView=True
End Object
Begin Object Name="EdGraphPin_22808"
PinName="bPrintToLog"
PinToolTip="Print to Log\nBoolean\n\nWhether or not to print the output to the log"
PinType=(PinCategory="bool")
DefaultValue="true"
AutogeneratedDefaultValue="true"
bAdvancedView=True
End Object
Begin Object Name="EdGraphPin_22807"
PinName="bPrintToScreen"
PinToolTip="Print to Screen\nBoolean\n\nWhether or not to print the output to the screen"
PinType=(PinCategory="bool")
DefaultValue="true"
AutogeneratedDefaultValue="true"
bAdvancedView=True
End Object
Begin Object Name="EdGraphPin_22806"
PinName="InString"
PinToolTip="In String\nString\n\nThe string to log out"
PinType=(PinCategory="string")
DefaultValue="Dead"
AutogeneratedDefaultValue="Hello"
End Object
Begin Object Name="EdGraphPin_22805"
PinName="WorldContextObject"
PinToolTip="World Context Object\nObject Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
bHidden=True
End Object
Begin Object Name="EdGraphPin_22804"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target\nKismet System Library Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetSystemLibrary')
DefaultObject=Default__KismetSystemLibrary
bHidden=True
End Object
Begin Object Name="EdGraphPin_22803"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2832.EdGraphPin_23699'
End Object
Begin Object Name="EdGraphPin_22802"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_MacroInstance_28.EdGraphPin_22242'
End Object
FunctionReference=(MemberParent=Class'/Script/Engine.KismetSystemLibrary',MemberName="PrintString")
Pins(0)=EdGraphPin'EdGraphPin_22802'
Pins(1)=EdGraphPin'EdGraphPin_22803'
Pins(2)=EdGraphPin'EdGraphPin_22804'
Pins(3)=EdGraphPin'EdGraphPin_22805'
Pins(4)=EdGraphPin'EdGraphPin_22806'
Pins(5)=EdGraphPin'EdGraphPin_22807'
Pins(6)=EdGraphPin'EdGraphPin_22808'
Pins(7)=EdGraphPin'EdGraphPin_22809'
NodePosX=2032
NodePosY=960
NodeGuid=848EDD0B4B27E08EDEB611AA15265C9D
AdvancedPinDisplay=Hidden
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2832"
Begin Object Class=EdGraphPin Name="EdGraphPin_23701"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_23700"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_23699"
End Object
Begin Object Name="EdGraphPin_23701"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target\nActor Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
End Object
Begin Object Name="EdGraphPin_23700"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_23699"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2553.EdGraphPin_22803'
End Object
FunctionReference=(MemberName="K2_DestroyActor",bSelfContext=True)
Pins(0)=EdGraphPin'EdGraphPin_23699'
Pins(1)=EdGraphPin'EdGraphPin_23700'
Pins(2)=EdGraphPin'EdGraphPin_23701'
NodePosX=2224
NodePosY=960
NodeGuid=F2798D2749AE42D6BE9546B17CD4C652
End Object
Here is the code for Box Trigger that KIlls player
Begin Object Class=K2Node_ComponentBoundEvent Name="K2Node_ComponentBoundEvent_1"
Begin Object Class=EdGraphPin Name="EdGraphPin_24366"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24365"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24364"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24363"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24362"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24361"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24360"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24359"
End Object
Begin Object Name="EdGraphPin_24366"
PinName="SweepResult"
PinToolTip="Sweep Result\nHit Result Structure (by ref)"
Direction=EGPD_Output
PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/Engine.HitResult',bIsReference=True,bIsConst=True)
End Object
Begin Object Name="EdGraphPin_24365"
PinName="bFromSweep"
PinToolTip="From Sweep\nBoolean"
Direction=EGPD_Output
PinType=(PinCategory="bool")
DefaultValue="false"
AutogeneratedDefaultValue="false"
End Object
Begin Object Name="EdGraphPin_24364"
PinName="OtherBodyIndex"
PinToolTip="Other Body Index\nInteger"
Direction=EGPD_Output
PinType=(PinCategory="int")
DefaultValue="0"
AutogeneratedDefaultValue="0"
End Object
Begin Object Name="EdGraphPin_24363"
PinName="OtherComp"
PinToolTip="Other Comp\nPrimitive Component Reference"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.PrimitiveComponent')
End Object
Begin Object Name="EdGraphPin_24362"
PinName="OtherActor"
PinToolTip="Other Actor\nActor Reference"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_759.EdGraphPin_24856'
LinkedTo(1)=EdGraphPin'K2Node_DynamicCast_583.EdGraphPin_26837'
End Object
Begin Object Name="EdGraphPin_24361"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_759.EdGraphPin_24853'
End Object
Begin Object Name="EdGraphPin_24360"
PinName="OutputDelegate"
Direction=EGPD_Output
PinType=(PinCategory="delegate")
End Object
Begin Object Name="EdGraphPin_24359"
PinName="OutputDelegate"
Direction=EGPD_Output
PinType=(PinCategory="delegate",PinSubCategoryMemberReference=(MemberParent=BlueprintGeneratedClass'/Game/UMG/KillPlayer.KillPlayer_C',MemberName="BndEvt__Box_K2Node_ComponentBoundEvent_0_ComponentBeginOverlapSignature__DelegateSignature"))
End Object
DelegatePropertyName="OnComponentBeginOverlap"
DelegateOwnerClass=Class'/Script/Engine.PrimitiveComponent'
ComponentPropertyName="Box"
EventReference=(MemberParent=Package'"/Script/Engine"',MemberName="ComponentBeginOverlapSignature__DelegateSignature")
bInternalEvent=True
CustomFunctionName="BndEvt__Box_K2Node_ComponentBoundEvent_0_ComponentBeginOverlapSignature__DelegateSignature"
Pins(0)=EdGraphPin'EdGraphPin_24359'
Pins(1)=EdGraphPin'EdGraphPin_24360'
Pins(2)=EdGraphPin'EdGraphPin_24361'
Pins(3)=EdGraphPin'EdGraphPin_24362'
Pins(4)=EdGraphPin'EdGraphPin_24363'
Pins(5)=EdGraphPin'EdGraphPin_24364'
Pins(6)=EdGraphPin'EdGraphPin_24365'
Pins(7)=EdGraphPin'EdGraphPin_24366'
NodePosY=656
NodeGuid=7A611E33430F310B9E01E999903923A4
End Object
Begin Object Class=K2Node_DynamicCast Name="K2Node_DynamicCast_759"
Begin Object Class=EdGraphPin Name="EdGraphPin_24858"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24857"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24856"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24855"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24854"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24853"
End Object
Begin Object Name="EdGraphPin_24858"
PinName="bSuccess"
Direction=EGPD_Output
PinType=(PinCategory="bool")
bHidden=True
End Object
Begin Object Name="EdGraphPin_24857"
PinName="AsThird Person Character"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C')
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_177.EdGraphPin_24875'
LinkedTo(1)=EdGraphPin'K2Node_VariableGet_143.EdGraphPin_24887'
End Object
Begin Object Name="EdGraphPin_24856"
PinName="Object"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
LinkedTo(0)=EdGraphPin'K2Node_ComponentBoundEvent_1.EdGraphPin_24362'
End Object
Begin Object Name="EdGraphPin_24855"
PinName="CastFailed"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_24854"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_177.EdGraphPin_24871'
End Object
Begin Object Name="EdGraphPin_24853"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_ComponentBoundEvent_1.EdGraphPin_24361'
End Object
TargetType=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C'
Pins(0)=EdGraphPin'EdGraphPin_24853'
Pins(1)=EdGraphPin'EdGraphPin_24854'
Pins(2)=EdGraphPin'EdGraphPin_24855'
Pins(3)=EdGraphPin'EdGraphPin_24856'
Pins(4)=EdGraphPin'EdGraphPin_24857'
Pins(5)=EdGraphPin'EdGraphPin_24858'
NodePosX=336
NodePosY=656
ErrorType=3
ErrorMsg="Warning \'AsThird Person Character\' is already a \'Third Person Character\', you don\'t need Cast To ThirdPersonCharacter ."
NodeGuid=19FB5A304E4A4B3EE1F2BE94AF47B54A
End Object
Begin Object Class=K2Node_VariableSet Name="K2Node_VariableSet_177"
Begin Object Class=EdGraphPin Name="EdGraphPin_24875"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24874"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24873"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24872"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24871"
End Object
Begin Object Name="EdGraphPin_24875"
PinName="self"
PinFriendlyName="Target"
PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C')
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_759.EdGraphPin_24857'
End Object
Begin Object Name="EdGraphPin_24874"
PinName="Output_Get"
PinToolTip="Retrieves the value of the variable, can use instead of a separate Get node"
Direction=EGPD_Output
PinType=(PinCategory="float")
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_MacroInstance_62.EdGraphPin_24422'
End Object
Begin Object Name="EdGraphPin_24873"
PinName="Health"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2973.EdGraphPin_24418'
End Object
Begin Object Name="EdGraphPin_24872"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_MacroInstance_62.EdGraphPin_24421'
End Object
Begin Object Name="EdGraphPin_24871"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_759.EdGraphPin_24854'
End Object
VariableReference=(MemberParent=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C',MemberName="Health",MemberGuid=FF2FAA7E4B34BA8B9824748B042834B4)
SelfContextInfo=NotSelfContext
Pins(0)=EdGraphPin'EdGraphPin_24871'
Pins(1)=EdGraphPin'EdGraphPin_24872'
Pins(2)=EdGraphPin'EdGraphPin_24873'
Pins(3)=EdGraphPin'EdGraphPin_24874'
Pins(4)=EdGraphPin'EdGraphPin_24875'
NodePosX=688
NodePosY=672
NodeGuid=843EA1444DB357FFE3AF288A36E6E36F
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2973"
Begin Object Class=EdGraphPin Name="EdGraphPin_24418"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24417"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24416"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24415"
End Object
Begin Object Name="EdGraphPin_24418"
PinName="ReturnValue"
PinToolTip="Return Value\nFloat"
Direction=EGPD_Output
PinType=(PinCategory="float")
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_177.EdGraphPin_24873'
End Object
Begin Object Name="EdGraphPin_24417"
PinName="B"
PinToolTip="B\nFloat"
PinType=(PinCategory="float")
DefaultValue=".50"
AutogeneratedDefaultValue="1.000000"
End Object
Begin Object Name="EdGraphPin_24416"
PinName="A"
PinToolTip="A\nFloat"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_VariableGet_143.EdGraphPin_24886'
End Object
Begin Object Name="EdGraphPin_24415"
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
bIsPureFunc=True
FunctionReference=(MemberParent=Class'/Script/Engine.KismetMathLibrary',MemberName="Subtract_FloatFloat")
Pins(0)=EdGraphPin'EdGraphPin_24415'
Pins(1)=EdGraphPin'EdGraphPin_24416'
Pins(2)=EdGraphPin'EdGraphPin_24417'
Pins(3)=EdGraphPin'EdGraphPin_24418'
NodePosX=560
NodePosY=864
NodeGuid=4BB15B6E4076D4A1013A7B97A3ED2697
End Object
Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_143"
Begin Object Class=EdGraphPin Name="EdGraphPin_24887"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24886"
End Object
Begin Object Name="EdGraphPin_24887"
PinName="self"
PinFriendlyName="Target"
PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C')
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_759.EdGraphPin_24857'
End Object
Begin Object Name="EdGraphPin_24886"
PinName="Health"
Direction=EGPD_Output
PinType=(PinCategory="float")
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2973.EdGraphPin_24416'
End Object
VariableReference=(MemberParent=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C',MemberName="Health",MemberGuid=FF2FAA7E4B34BA8B9824748B042834B4)
SelfContextInfo=NotSelfContext
Pins(0)=EdGraphPin'EdGraphPin_24886'
Pins(1)=EdGraphPin'EdGraphPin_24887'
NodePosX=384
NodePosY=864
NodeGuid=BC92F82747952823D1B7F0A0CC31F18C
End Object
Begin Object Class=K2Node_MacroInstance Name="K2Node_MacroInstance_62"
Begin Object Class=EdGraphPin Name="EdGraphPin_24426"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24425"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24424"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24423"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24422"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24421"
End Object
Begin Object Name="EdGraphPin_24426"
PinName="<"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2977.EdGraphPin_24472'
End Object
Begin Object Name="EdGraphPin_24425"
PinName="=="
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_24424"
PinName=">"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_583.EdGraphPin_26834'
End Object
Begin Object Name="EdGraphPin_24423"
PinName="CompareWith"
PinType=(PinCategory="float")
DefaultValue="0"
End Object
Begin Object Name="EdGraphPin_24422"
PinName="Input"
PinType=(PinCategory="float")
DefaultValue="0.0"
AutogeneratedDefaultValue="0.0"
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_177.EdGraphPin_24874'
End Object
Begin Object Name="EdGraphPin_24421"
PinName="Exec"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_177.EdGraphPin_24872'
End Object
MacroGraphReference=(MacroGraph=EdGraph'/Engine/EditorBlueprintResources/StandardMacros.StandardMacros:CompareFloat',GraphBlueprint=Blueprint'/Engine/EditorBlueprintResources/StandardMacros.StandardMacros',GraphGuid=586FC6AF485A689F086B5CA6629837B4)
Pins(0)=EdGraphPin'EdGraphPin_24421'
Pins(1)=EdGraphPin'EdGraphPin_24422'
Pins(2)=EdGraphPin'EdGraphPin_24423'
Pins(3)=EdGraphPin'EdGraphPin_24424'
Pins(4)=EdGraphPin'EdGraphPin_24425'
Pins(5)=EdGraphPin'EdGraphPin_24426'
NodePosX=896
NodePosY=656
NodeGuid=C1C7B38D46BE4BA490EA62874B7AE195
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2976"
Begin Object Class=EdGraphPin Name="EdGraphPin_24471"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24470"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24469"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24468"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24467"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24466"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24465"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24464"
End Object
Begin Object Name="EdGraphPin_24471"
PinName="TextColor"
PinToolTip="Text Color\nLinear Color Structure\n\nWhether or not to print the output to the console"
PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.LinearColor')
DefaultValue="(R=0.000000,G=1.000000,B=0.166656,A=1.000000)"
AutogeneratedDefaultValue="(R=0.000000,G=0.660000,B=1.000000,A=1.000000)"
bAdvancedView=True
End Object
Begin Object Name="EdGraphPin_24470"
PinName="bPrintToLog"
PinToolTip="Print to Log\nBoolean\n\nWhether or not to print the output to the log"
PinType=(PinCategory="bool")
DefaultValue="true"
AutogeneratedDefaultValue="true"
bAdvancedView=True
End Object
Begin Object Name="EdGraphPin_24469"
PinName="bPrintToScreen"
PinToolTip="Print to Screen\nBoolean\n\nWhether or not to print the output to the screen"
PinType=(PinCategory="bool")
DefaultValue="true"
AutogeneratedDefaultValue="true"
bAdvancedView=True
End Object
Begin Object Name="EdGraphPin_24468"
PinName="InString"
PinToolTip="In String\nString\n\nThe string to log out"
PinType=(PinCategory="string")
DefaultValue="I am Alive"
AutogeneratedDefaultValue="Hello"
End Object
Begin Object Name="EdGraphPin_24467"
PinName="WorldContextObject"
PinToolTip="World Context Object\nObject Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
bHidden=True
End Object
Begin Object Name="EdGraphPin_24466"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target\nKismet System Library Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetSystemLibrary')
DefaultObject=Default__KismetSystemLibrary
bHidden=True
End Object
Begin Object Name="EdGraphPin_24465"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_24464"
PinName="execute"
PinType=(PinCategory="exec")
End Object
FunctionReference=(MemberParent=Class'/Script/Engine.KismetSystemLibrary',MemberName="PrintString")
Pins(0)=EdGraphPin'EdGraphPin_24464'
Pins(1)=EdGraphPin'EdGraphPin_24465'
Pins(2)=EdGraphPin'EdGraphPin_24466'
Pins(3)=EdGraphPin'EdGraphPin_24467'
Pins(4)=EdGraphPin'EdGraphPin_24468'
Pins(5)=EdGraphPin'EdGraphPin_24469'
Pins(6)=EdGraphPin'EdGraphPin_24470'
Pins(7)=EdGraphPin'EdGraphPin_24471'
NodePosX=1184
NodePosY=656
NodeGuid=6706D7E24A8AF0F133A0CCA955A1EF55
AdvancedPinDisplay=Hidden
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2977"
Begin Object Class=EdGraphPin Name="EdGraphPin_24479"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24478"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24477"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24476"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24475"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24474"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24473"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_24472"
End Object
Begin Object Name="EdGraphPin_24479"
PinName="TextColor"
PinToolTip="Text Color\nLinear Color Structure\n\nWhether or not to print the output to the console"
PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.LinearColor')
DefaultValue="(R=0.000000,G=0.660000,B=1.000000,A=1.000000)"
AutogeneratedDefaultValue="(R=0.000000,G=0.660000,B=1.000000,A=1.000000)"
bAdvancedView=True
End Object
Begin Object Name="EdGraphPin_24478"
PinName="bPrintToLog"
PinToolTip="Print to Log\nBoolean\n\nWhether or not to print the output to the log"
PinType=(PinCategory="bool")
DefaultValue="true"
AutogeneratedDefaultValue="true"
bAdvancedView=True
End Object
Begin Object Name="EdGraphPin_24477"
PinName="bPrintToScreen"
PinToolTip="Print to Screen\nBoolean\n\nWhether or not to print the output to the screen"
PinType=(PinCategory="bool")
DefaultValue="true"
AutogeneratedDefaultValue="true"
bAdvancedView=True
End Object
Begin Object Name="EdGraphPin_24476"
PinName="InString"
PinToolTip="In String\nString\n\nThe string to log out"
PinType=(PinCategory="string")
DefaultValue="Dead"
AutogeneratedDefaultValue="Hello"
End Object
Begin Object Name="EdGraphPin_24475"
PinName="WorldContextObject"
PinToolTip="World Context Object\nObject Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
bHidden=True
End Object
Begin Object Name="EdGraphPin_24474"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target\nKismet System Library Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetSystemLibrary')
DefaultObject=Default__KismetSystemLibrary
bHidden=True
End Object
Begin Object Name="EdGraphPin_24473"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3626.EdGraphPin_28072'
End Object
Begin Object Name="EdGraphPin_24472"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_MacroInstance_62.EdGraphPin_24426'
End Object
FunctionReference=(MemberParent=Class'/Script/Engine.KismetSystemLibrary',MemberName="PrintString")
Pins(0)=EdGraphPin'EdGraphPin_24472'
Pins(1)=EdGraphPin'EdGraphPin_24473'
Pins(2)=EdGraphPin'EdGraphPin_24474'
Pins(3)=EdGraphPin'EdGraphPin_24475'
Pins(4)=EdGraphPin'EdGraphPin_24476'
Pins(5)=EdGraphPin'EdGraphPin_24477'
Pins(6)=EdGraphPin'EdGraphPin_24478'
Pins(7)=EdGraphPin'EdGraphPin_24479'
NodePosX=1216
NodePosY=816
NodeGuid=47DEFCC14E28DDB989CA8CBD7D66FC70
AdvancedPinDisplay=Hidden
End Object
Begin Object Class=K2Node_DynamicCast Name="K2Node_DynamicCast_583"
Begin Object Class=EdGraphPin Name="EdGraphPin_26839"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_26838"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_26837"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_26836"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_26835"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_26834"
End Object
Begin Object Name="EdGraphPin_26839"
PinName="bSuccess"
Direction=EGPD_Output
PinType=(PinCategory="bool")
bHidden=True
End Object
Begin Object Name="EdGraphPin_26838"
PinName="AsThird Person Character"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C')
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3626.EdGraphPin_28074'
End Object
Begin Object Name="EdGraphPin_26837"
PinName="Object"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
LinkedTo(0)=EdGraphPin'K2Node_ComponentBoundEvent_1.EdGraphPin_24362'
End Object
Begin Object Name="EdGraphPin_26836"
PinName="CastFailed"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_26835"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_26834"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_MacroInstance_62.EdGraphPin_24424'
End Object
TargetType=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C'
Pins(0)=EdGraphPin'EdGraphPin_26834'
Pins(1)=EdGraphPin'EdGraphPin_26835'
Pins(2)=EdGraphPin'EdGraphPin_26836'
Pins(3)=EdGraphPin'EdGraphPin_26837'
Pins(4)=EdGraphPin'EdGraphPin_26838'
Pins(5)=EdGraphPin'EdGraphPin_26839'
NodePosX=1088
NodePosY=960
ErrorType=1
ErrorMsg="Error The type of Object is undetermined. Connect something to Cast To ThirdPersonCharacter to imply a specific type.\nError The current value of the \' Object \' pin is invalid: Unsupported type Wildcard on pin Object"
NodeGuid=B8E9BB4648F924CC6749939D7E8B2250
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_3626"
Begin Object Class=EdGraphPin Name="EdGraphPin_28074"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28073"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28072"
End Object
Begin Object Name="EdGraphPin_28074"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target\nActor Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_583.EdGraphPin_26838'
End Object
Begin Object Name="EdGraphPin_28073"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_28072"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2977.EdGraphPin_24473'
End Object
FunctionReference=(MemberName="K2_DestroyActor",bSelfContext=True)
Pins(0)=EdGraphPin'EdGraphPin_28072'
Pins(1)=EdGraphPin'EdGraphPin_28073'
Pins(2)=EdGraphPin'EdGraphPin_28074'
NodePosX=1472
NodePosY=816
NodeGuid=20C5946949B5B27D88318FA8A232BBDB
End Object
Begin Object Class=K2Node_DynamicCast Name="K2Node_DynamicCast_770"
Begin Object Class=EdGraphPin Name="EdGraphPin_28459"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28458"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28457"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28456"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28455"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28454"
End Object
Begin Object Name="EdGraphPin_28459"
PinName="bSuccess"
Direction=EGPD_Output
PinType=(PinCategory="bool")
bHidden=True
End Object
Begin Object Name="EdGraphPin_28458"
PinName="AsKill ZVolume"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KillZVolume')
End Object
Begin Object Name="EdGraphPin_28457"
PinName="Object"
PinType=(PinCategory="wildcard",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
End Object
Begin Object Name="EdGraphPin_28456"
PinName="CastFailed"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_28455"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_28454"
PinName="execute"
PinType=(PinCategory="exec")
End Object
TargetType=Class'/Script/Engine.KillZVolume'
Pins(0)=EdGraphPin'EdGraphPin_28454'
Pins(1)=EdGraphPin'EdGraphPin_28455'
Pins(2)=EdGraphPin'EdGraphPin_28456'
Pins(3)=EdGraphPin'EdGraphPin_28457'
Pins(4)=EdGraphPin'EdGraphPin_28458'
Pins(5)=EdGraphPin'EdGraphPin_28459'
NodePosX=816
NodePosY=816
NodeGuid=5EF3EF6744798D4F4475168A1695460D
End Object
0 comments:
Post a Comment