1. Make BP.
2, Name it Jump Pad
3. Make a cylinder component.
4. Change Collision to this OverlapAllDynamics
6. Go in BP event
7. Create Event ActorOverlap
Inthing that overlaps will excute
8. Connect it to CastTothirdPersonCharacter
9. Launch Character Connect it to CastTothirdPersonCharacter
Launch Character z vel is 1000
Code Below
--------------------------------
Begin Object Class=K2Node_Event Name="K2Node_Event_535"
Begin Object Class=EdGraphPin Name="EdGraphPin_29900"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_29899"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_29898"
End Object
Begin Object Name="EdGraphPin_29900"
PinName="OtherActor"
PinToolTip="Other Actor\nActor Reference"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_492.EdGraphPin_29904'
End Object
Begin Object Name="EdGraphPin_29899"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_492.EdGraphPin_29901'
End Object
Begin Object Name="EdGraphPin_29898"
PinName="OutputDelegate"
Direction=EGPD_Output
PinType=(PinCategory="delegate",PinSubCategoryMemberReference=(MemberParent=Class'/Script/Engine.Actor',MemberName="ReceiveActorBeginOverlap"))
End Object
EventReference=(MemberParent=Class'/Script/Engine.Actor',MemberName="ReceiveActorBeginOverlap")
bOverrideFunction=True
Pins(0)=EdGraphPin'EdGraphPin_29898'
Pins(1)=EdGraphPin'EdGraphPin_29899'
Pins(2)=EdGraphPin'EdGraphPin_29900'
NodePosX=816
NodePosY=336
NodeGuid=5A42978642D5B3809B95B7B623C46B82
End Object
Begin Object Class=K2Node_DynamicCast Name="K2Node_DynamicCast_492"
Begin Object Class=EdGraphPin Name="EdGraphPin_29906"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_29905"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_29904"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_29903"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_29902"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_29901"
End Object
Begin Object Name="EdGraphPin_29906"
PinName="bSuccess"
Direction=EGPD_Output
PinType=(PinCategory="bool")
bHidden=True
End Object
Begin Object Name="EdGraphPin_29905"
PinName="AsThird Person Character"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C')
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3483.EdGraphPin_29909'
End Object
Begin Object Name="EdGraphPin_29904"
PinName="Object"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
LinkedTo(0)=EdGraphPin'K2Node_Event_535.EdGraphPin_29900'
End Object
Begin Object Name="EdGraphPin_29903"
PinName="CastFailed"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_29902"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_3483.EdGraphPin_29907'
End Object
Begin Object Name="EdGraphPin_29901"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_Event_535.EdGraphPin_29899'
End Object
TargetType=BlueprintGeneratedClass'/Game/ThirdPersonBP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C'
Pins(0)=EdGraphPin'EdGraphPin_29901'
Pins(1)=EdGraphPin'EdGraphPin_29902'
Pins(2)=EdGraphPin'EdGraphPin_29903'
Pins(3)=EdGraphPin'EdGraphPin_29904'
Pins(4)=EdGraphPin'EdGraphPin_29905'
Pins(5)=EdGraphPin'EdGraphPin_29906'
NodePosX=1104
NodePosY=336
NodeGuid=224E155F453088C5AA1D4B9DB1EE51BA
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_3483"
Begin Object Class=EdGraphPin Name="EdGraphPin_29912"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_29911"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_29910"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_29909"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_29908"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_29907"
End Object
Begin Object Name="EdGraphPin_29912"
PinName="bZOverride"
PinToolTip="ZOverride\nBoolean\n\nif true replace the Z component of the Character\'s velocity instead of adding to it."
PinType=(PinCategory="bool")
DefaultValue="false"
AutogeneratedDefaultValue="false"
End Object
Begin Object Name="EdGraphPin_29911"
PinName="bXYOverride"
PinToolTip="XYOverride\nBoolean\n\nif true replace the XY part of the Character\'s velocity instead of adding to it."
PinType=(PinCategory="bool")
DefaultValue="false"
AutogeneratedDefaultValue="false"
End Object
Begin Object Name="EdGraphPin_29910"
PinName="LaunchVelocity"
PinToolTip="Launch Velocity\nVector \n\nis the velocity to impart to the Character"
PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Vector')
DefaultValue="0, 0,1000.000000"
AutogeneratedDefaultValue="0, 0, 0"
End Object
Begin Object Name="EdGraphPin_29909"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target\nCharacter Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Character')
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_492.EdGraphPin_29905'
End Object
Begin Object Name="EdGraphPin_29908"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_29907"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_DynamicCast_492.EdGraphPin_29902'
End Object
FunctionReference=(MemberParent=Class'/Script/Engine.Character',MemberName="LaunchCharacter")
Pins(0)=EdGraphPin'EdGraphPin_29907'
Pins(1)=EdGraphPin'EdGraphPin_29908'
Pins(2)=EdGraphPin'EdGraphPin_29909'
Pins(3)=EdGraphPin'EdGraphPin_29910'
Pins(4)=EdGraphPin'EdGraphPin_29911'
Pins(5)=EdGraphPin'EdGraphPin_29912'
NodePosX=1440
NodePosY=336
NodeGuid=A46C96D74281F93E0DB5E8B731B42844
End Object
Begin Object Class=EdGraphNode_Comment Name="EdGraphNode_Comment_273"
NodePosX=768
NodePosY=288
NodeWidth=962
NodeHeight=303
NodeComment="Jump Pad"
NodeGuid=79A619A84A1C1ED39BBB3FBC9FEBB902
End Object
0 comments:
Post a Comment