x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Trigger Push

I'm attempting to recreate a trigger_push from the source engine.

Currently I have it working fine, when the object begins to overlap it get's launched on the z axis.

The issue I'm running into is I'd like to have more then one object spawn to be launched over time.

The spawned objects do not launch once they enter the overlap. Hopefully I explained this clearly.

Here are my current blueprints:

The Boulder [Launched Object]

alt text

 Begin Object Class=K2Node_Event Name="K2Node_Event_7"
    Begin Object Class=EdGraphPin Name="EdGraphPin_4571"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4570"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4569"
    End Object
    Begin Object Name="EdGraphPin_4571"
       PinName="OtherActor"
       PinToolTip="Other Actor\nActor Reference"
       Direction=EGPD_Output
       PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
    End Object
    Begin Object Name="EdGraphPin_4570"
       PinName="then"
       Direction=EGPD_Output
       PinType=(PinCategory="exec")
       LinkedTo(0)=EdGraphPin'K2Node_CallFunctionOnMember_53.EdGraphPin_4591'
    End Object
    Begin Object Name="EdGraphPin_4569"
       PinName="OutputDelegate"
       Direction=EGPD_Output
       PinType=(PinCategory="delegate",PinSubCategoryMemberReference=(MemberParentClass=Class'/Script/Engine.Actor',MemberName="ReceiveActorBeginOverlap"))
    End Object
    EventSignatureName="ReceiveActorBeginOverlap"
    EventSignatureClass=Class'/Script/Engine.Actor'
    bOverrideFunction=True
    Pins(0)=EdGraphPin'EdGraphPin_4569'
    Pins(1)=EdGraphPin'EdGraphPin_4570'
    Pins(2)=EdGraphPin'EdGraphPin_4571'
    NodePosX=16
    NodePosY=208
    bCommentBubbleVisible=True
    NodeGuid=AE542AFC409441B7FB0D34AD35A68303
 End Object
 Begin Object Class=K2Node_CallFunctionOnMember Name="K2Node_CallFunctionOnMember_53"
    Begin Object Class=EdGraphPin Name="EdGraphPin_4596"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4595"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4594"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4593"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4592"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4591"
    End Object
    Begin Object Name="EdGraphPin_4596"
       PinName="BoneName"
       PinToolTip="Bone Name\nName\n\nIf a SkeletalMeshComponent, name of body to apply force to. \'None\' indicates root body."
       PinType=(PinCategory="name")
       DefaultValue="None"
       AutogeneratedDefaultValue="None"
    End Object
    Begin Object Name="EdGraphPin_4595"
       PinName="Location"
       PinToolTip="Location\nVector \n\nLocation to apply force, in world space."
       PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Object:Vector')
       DefaultValue="0, 0, 0"
       AutogeneratedDefaultValue="0, 0, 0"
    End Object
    Begin Object Name="EdGraphPin_4594"
       PinName="Force"
       PinToolTip="Force\nVector \n\nForce vector to apply. Magnitude indicates strength of force."
       PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Object:Vector')
       DefaultValue="0.0,0.0,200000000.0"
       AutogeneratedDefaultValue="0, 0, 0"
    End Object
    Begin Object Name="EdGraphPin_4593"
       PinName="self"
       PinFriendlyName="Target"
       PinToolTip="Target\nStatic Mesh Actor Reference"
       PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.StaticMeshActor')
    End Object
    Begin Object Name="EdGraphPin_4592"
       PinName="then"
       Direction=EGPD_Output
       PinType=(PinCategory="exec")
    End Object
    Begin Object Name="EdGraphPin_4591"
       PinName="execute"
       PinType=(PinCategory="exec")
       LinkedTo(0)=EdGraphPin'K2Node_Event_7.EdGraphPin_4570'
    End Object
    MemberVariableToCallOn=(MemberParentClass=Class'/Script/Engine.StaticMeshActor',MemberName="StaticMeshComponent")
    FunctionReference=(MemberParentClass=Class'/Script/Engine.PrimitiveComponent',MemberName="AddForceAtLocation")
    Pins(0)=EdGraphPin'EdGraphPin_4591'
    Pins(1)=EdGraphPin'EdGraphPin_4592'
    Pins(2)=EdGraphPin'EdGraphPin_4593'
    Pins(3)=EdGraphPin'EdGraphPin_4594'
    Pins(4)=EdGraphPin'EdGraphPin_4595'
    Pins(5)=EdGraphPin'EdGraphPin_4596'
    NodePosX=432
    NodePosY=208
    NodeGuid=F872A2A14CA0AC0D064A05B0FDD069AD
 End Object
 
 

The Object Spawner

alt text

 Begin Object Class=K2Node_Event Name="K2Node_Event_216"
    Begin Object Class=EdGraphPin Name="EdGraphPin_4829"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4828"
    End Object
    Begin Object Name="EdGraphPin_4829"
       PinName="then"
       Direction=EGPD_Output
       PinType=(PinCategory="exec")
       LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2297.EdGraphPin_4772'
    End Object
    Begin Object Name="EdGraphPin_4828"
       PinName="OutputDelegate"
       Direction=EGPD_Output
       PinType=(PinCategory="delegate",PinSubCategoryMemberReference=(MemberParentClass=Class'/Script/Engine.Actor',MemberName="ReceiveBeginPlay"))
    End Object
    EventSignatureName="ReceiveBeginPlay"
    EventSignatureClass=Class'/Script/Engine.Actor'
    bOverrideFunction=True
    Pins(0)=EdGraphPin'EdGraphPin_4828'
    Pins(1)=EdGraphPin'EdGraphPin_4829'
    NodePosX=-64
    NodePosY=272
    bCommentBubbleVisible=True
    NodeGuid=369B5B8D4EF717167473E39C7FBDD35D
 End Object
 Begin Object Class=K2Node_CustomEvent Name="K2Node_CustomEvent_31"
    Begin Object Class=EdGraphPin Name="EdGraphPin_4759"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4758"
    End Object
    Begin Object Name="EdGraphPin_4759"
       PinName="then"
       Direction=EGPD_Output
       PinType=(PinCategory="exec")
       LinkedTo(0)=EdGraphPin'K2Node_SpawnActorFromClass_19.EdGraphPin_17091'
    End Object
    Begin Object Name="EdGraphPin_4758"
       PinName="OutputDelegate"
       Direction=EGPD_Output
       PinType=(PinCategory="delegate",PinSubCategoryMemberReference=(MemberParentClass=BlueprintGeneratedClass'/Game/Spawner.Spawner_C',MemberName="SpawnBox",MemberGuid=2BC8B69E41C74FA82A6DD88989271CDD))
    End Object
    CustomFunctionName="SpawnBox"
    Pins(0)=EdGraphPin'EdGraphPin_4758'
    Pins(1)=EdGraphPin'EdGraphPin_4759'
    NodePosX=80
    NodePosY=640
    NodeGuid=2BC8B69E41C74FA82A6DD88989271CDD
 End Object
 Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2296"
    Begin Object Class=EdGraphPin Name="EdGraphPin_4767"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4766"
    End Object
    Begin Object Name="EdGraphPin_4767"
       PinName="ReturnValue"
       PinToolTip="Return Value\nVector "
       Direction=EGPD_Output
       PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Object:Vector')
       DefaultValue="0, 0, 0"
       AutogeneratedDefaultValue="0, 0, 0"
       LinkedTo(0)=EdGraphPin'K2Node_SpawnActorFromClass_19.EdGraphPin_17106'
    End Object
    Begin Object Name="EdGraphPin_4766"
       PinName="self"
       PinFriendlyName="Target"
       PinToolTip="Target\nActor Reference"
       PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
    End Object
    bIsPureFunc=True
    bIsConstFunc=True
    FunctionReference=(MemberName="K2_GetActorLocation",bSelfContext=True)
    Pins(0)=EdGraphPin'EdGraphPin_4766'
    Pins(1)=EdGraphPin'EdGraphPin_4767'
    NodePosX=-16
    NodePosY=752
    NodeGuid=51FFB8CD47D1F507E46E35B00F9613E5
 End Object
 Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2297"
    Begin Object Class=EdGraphPin Name="EdGraphPin_4778"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4777"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4776"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4775"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4774"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4773"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_4772"
    End Object
    Begin Object Name="EdGraphPin_4778"
       PinName="bLooping"
       PinToolTip="Looping\nBoolean\n\ntrue to keep executing the delegate every Time seconds, false to execute delegate only once."
       PinType=(PinCategory="bool")
       DefaultValue="true"
       AutogeneratedDefaultValue="false"
    End Object
    Begin Object Name="EdGraphPin_4777"
       PinName="Time"
       PinToolTip="Time\nFloat\n\nHow long to wait before executing the delegate, in seconds. Setting a timer to <= 0 seconds will clear it if it is set."
       PinType=(PinCategory="float")
       DefaultValue="5"
       AutogeneratedDefaultValue="0.0"
    End Object
    Begin Object Name="EdGraphPin_4776"
       PinName="FunctionName"
       PinToolTip="Function Name\nString\n\nDelegate function name. Can be a K2 function or a Custom Event."
       PinType=(PinCategory="string")
       DefaultValue="SpawnBox"
    End Object
    Begin Object Name="EdGraphPin_4775"
       PinName="Object"
       PinToolTip="Object\nObject Reference\n\nObject that implements the delegate function. Defaults to self (this blueprint)"
       PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
    End Object
    Begin Object Name="EdGraphPin_4774"
       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_4773"
       PinName="then"
       Direction=EGPD_Output
       PinType=(PinCategory="exec")
    End Object
    Begin Object Name="EdGraphPin_4772"
       PinName="execute"
       PinType=(PinCategory="exec")
       LinkedTo(0)=EdGraphPin'K2Node_Event_216.EdGraphPin_4829'
    End Object
    FunctionReference=(MemberParentClass=Class'/Script/Engine.KismetSystemLibrary',MemberName="K2_SetTimer")
    Pins(0)=EdGraphPin'EdGraphPin_4772'
    Pins(1)=EdGraphPin'EdGraphPin_4773'
    Pins(2)=EdGraphPin'EdGraphPin_4774'
    Pins(3)=EdGraphPin'EdGraphPin_4775'
    Pins(4)=EdGraphPin'EdGraphPin_4776'
    Pins(5)=EdGraphPin'EdGraphPin_4777'
    Pins(6)=EdGraphPin'EdGraphPin_4778'
    NodePosX=160
    NodePosY=288
    NodeGuid=9C67F805465E7614088BBC8771168997
 End Object
 Begin Object Class=K2Node_SpawnActorFromClass Name="K2Node_SpawnActorFromClass_19"
    Begin Object Class=EdGraphPin Name="EdGraphPin_17091"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_17092"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_17093"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_17094"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_17095"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_17096"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_17097"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_17106"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_17107"
    End Object
    Begin Object Class=EdGraphPin Name="EdGraphPin_17108"
    End Object
    Begin Object Name="EdGraphPin_17091"
       PinName="execute"
       PinType=(PinCategory="exec")
       LinkedTo(0)=EdGraphPin'K2Node_CustomEvent_31.EdGraphPin_4759'
    End Object
    Begin Object Name="EdGraphPin_17092"
       PinName="then"
       Direction=EGPD_Output
       PinType=(PinCategory="exec")
    End Object
    Begin Object Name="EdGraphPin_17093"
       PinName="Class"
       PinToolTip="Class\nActor Class\n\nThe Actor class you want to spawn"
       PinType=(PinCategory="class",PinSubCategoryObject=Class'/Script/Engine.Actor')
       DefaultObject=BlueprintGeneratedClass'/Game/Boulder.Boulder_C'
    End Object
    Begin Object Name="EdGraphPin_17094"
       PinName="SpawnTransform"
       PinToolTip="Spawn Transform\nTransform \n\nThe transform to spawn the Actor with"
       PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Object:Transform')
       SubPins(0)=EdGraphPin'K2Node_SpawnActorFromClass_19.EdGraphPin_17106'
       SubPins(1)=EdGraphPin'K2Node_SpawnActorFromClass_19.EdGraphPin_17107'
       SubPins(2)=EdGraphPin'K2Node_SpawnActorFromClass_19.EdGraphPin_17108'
       bHidden=True
    End Object
    Begin Object Name="EdGraphPin_17095"
       PinName="SpawnEvenIfColliding"
       PinToolTip="Spawn Even if Colliding\nBoolean\n\nDetermines if the Actor should be spawned when the location is blocked by a collision"
       PinType=(PinCategory="bool")
    End Object
    Begin Object Name="EdGraphPin_17096"
       PinName="ReturnValue"
       PinToolTip="Return Value\nActor Reference\n\nThe spawned Actor"
       Direction=EGPD_Output
       PinType=(PinCategory="object",PinSubCategoryObject=BlueprintGeneratedClass'/Game/Boulder.Boulder_C')
    End Object
    Begin Object Name="EdGraphPin_17097"
       PinName="Instigator"
       PinToolTip="Instigator\nPawn Reference\n\nPawn responsible for damage caused by this actor."
       PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Pawn')
    End Object
    Begin Object Name="EdGraphPin_17106"
       PinName="SpawnTransform_Location"
       PinFriendlyName="Spawn Transform Location"
       PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Object:Vector')
       DefaultValue="0, 0, 0"
       AutogeneratedDefaultValue="0, 0, 0"
       LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2296.EdGraphPin_4767'
       ParentPin=EdGraphPin'K2Node_SpawnActorFromClass_19.EdGraphPin_17094'
    End Object
    Begin Object Name="EdGraphPin_17107"
       PinName="SpawnTransform_Rotation"
       PinFriendlyName="Spawn Transform Rotation"
       PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Object:Rotator')
       DefaultValue="0, 0, 0"
       AutogeneratedDefaultValue="0, 0, 0"
       ParentPin=EdGraphPin'K2Node_SpawnActorFromClass_19.EdGraphPin_17094'
    End Object
    Begin Object Name="EdGraphPin_17108"
       PinName="SpawnTransform_Scale"
       PinFriendlyName="Spawn Transform Scale"
       PinType=(PinCategory="struct",PinSubCategoryObject=ScriptStruct'/Script/CoreUObject.Object:Vector')
       DefaultValue="2.000000,2.000000,2.000000"
       AutogeneratedDefaultValue="1,1,1"
       ParentPin=EdGraphPin'K2Node_SpawnActorFromClass_19.EdGraphPin_17094'
    End Object
    Pins(0)=EdGraphPin'EdGraphPin_17091'
    Pins(1)=EdGraphPin'EdGraphPin_17092'
    Pins(2)=EdGraphPin'EdGraphPin_17093'
    Pins(3)=EdGraphPin'EdGraphPin_17094'
    Pins(4)=EdGraphPin'EdGraphPin_17106'
    Pins(5)=EdGraphPin'EdGraphPin_17107'
    Pins(6)=EdGraphPin'EdGraphPin_17108'
    Pins(7)=EdGraphPin'EdGraphPin_17095'
    Pins(8)=EdGraphPin'EdGraphPin_17096'
    Pins(9)=EdGraphPin'EdGraphPin_17097'
    NodePosX=368
    NodePosY=656
    NodeGuid=5E9042BA4A7FA04CA8C33384653CEE7F
 End Object
 

Also, if someone could help me get on the right track on specifying the trigger volume it overlaps that'd be great.

Any help is appreciated, even a push in the right direction helps!

Product Version: UE 4.7
Tags:
more ▼

asked Jun 09 '15 at 04:39 AM in Blueprint Scripting

avatar image

SpawnZ
0

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question