UMG Documentation for 4.4 Preview

Great, thank you, !

,

Having an infinite loop without any widget on will cause the editor to give you an error and stop. Having a widget makes it so that there are two infinite loops messages one coming from the widget blueprint and it never goes away. You have to force quit the editor

Also, Cloning a project causes the text in the widgets to get reset.

How would you add buttons to a grid during runtime and still be able to identify which one you pressed them?

Like an inventory, you read from a database during runtime and add “buttons” to a grid depending on the database content.
Atm i am adding buttons with “add child” to my grid. I tried to change the actual name of the added buttons but was not able to. I also tried to identify them by write down an id number into the “Tool Tip Text”, but was only able to set the text, not read it.

Hi all, im probably overlooking something extremely obvious, but i cant seem to set progress bar to certain colors. It starts off as orange, and i seem to be only able to
dye it a similar color, i cant for example make it blue. Sorry if has been asked before.
Thanks

Hey Eqric, each custom user widget is just like other blueprints. So you can make your own member variables that could be used to identify that sort of stuff. The way I would do it is have a user widget representing a row worth’s of data coming from the database. That userwidget would store all the information needed to interact with that portion of the database, ID…etc.

@Zurael You need to make a new Progress Bar Style. Then you can setup new brushes representing the bar’s look and feel.

Did someone manage to change a vector parameter of a a material dynamic instance assigned to an object to actually change? is my setup, any help is welcomed .


[QUOTE=;124421]
Did someone manage to change a vector parameter of a a material dynamic instance assigned to an object to actually change? is my setup, any help is welcomed .

Well you don’t really go into what you are trying to do exactly but from looking at what you posted I don’t actually see you assigning the material to anything after you create it. I went and tested and was able to push a button and have a static mesh I had in the scene change from yellow to red by changing the vector scalar I had assigned to it. See the screenshots and code below for info. And yes it is ugly but was just to see if it worked =)

My Material Dynamic variable is of type MaterialInstanceDynamic and my Material variable is of type MaterialInstance with a default value of the Material Instance I have already created and is sitting in my content browser.


Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_98314"
   Begin Object Class=EdGraphPin Name="EdGraphPin_3395"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3396"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3397"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3398"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3399"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3400"
   End Object
   Begin Object Name="EdGraphPin_3395"
      PinName="execute"
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'"K2Node_Event_441.EdGraphPin_6964"'
   End Object
   Begin Object Name="EdGraphPin_3396"
      PinName="then"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'"K2Node_MacroInstance_1158.EdGraphPin_3529"'
   End Object
   Begin Object Name="EdGraphPin_3397"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="object\'GameplayStatics\' Target"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.GameplayStatics')
      DefaultObject=Default__GameplayStatics
      bHidden=True
   End Object
   Begin Object Name="EdGraphPin_3398"
      PinName="WorldContextObject"
      PinToolTip="object\'Object\' World Context Object"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
      bHidden=True
   End Object
   Begin Object Name="EdGraphPin_3399"
      PinName="ActorClass"
      PinToolTip="class\'Actor\' Actor Class

Class of Actor to find. Must be specified or result array will be empty."
      PinType=(PinCategory="class",PinSubCategoryObject=Class'/Script/Engine.Actor')
      DefaultObject=Class'/Script/Engine.StaticMeshActor'
   End Object
   Begin Object Name="EdGraphPin_3400"
      PinName="OutActors"
      PinToolTip="array[object\'Actor\'] Out Actors

Output array of Actors of the specified class."
      Direction=EGPD_Output
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor',bIsArray=True)
      LinkedTo(0)=EdGraphPin'"K2Node_MacroInstance_1158.EdGraphPin_3530"'
   End Object
   FunctionReference=(MemberParentClass=Class'/Script/Engine.GameplayStatics',MemberName="GetAllActorsOfClass")
   Pins(0)=EdGraphPin'EdGraphPin_3395'
   Pins(1)=EdGraphPin'EdGraphPin_3396'
   Pins(2)=EdGraphPin'EdGraphPin_3397'
   Pins(3)=EdGraphPin'EdGraphPin_3398'
   Pins(4)=EdGraphPin'EdGraphPin_3399'
   Pins(5)=EdGraphPin'EdGraphPin_3400'
   NodePosX=528
   NodePosY=480
   NodeGuid=A1A610B04517740297CB599A076568D4
End Object
Begin Object Class=K2Node_MacroInstance Name="K2Node_MacroInstance_1158"
   Begin Object Class=EdGraphPin Name="EdGraphPin_3529"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3530"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3531"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3532"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3533"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3534"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3535"
   End Object
   Begin Object Name="EdGraphPin_3529"
      PinName="Exec"
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'"K2Node_CallFunction_98314.EdGraphPin_3396"'
   End Object
   Begin Object Name="EdGraphPin_3530"
      PinName="Array"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor',bIsArray=True)
      LinkedTo(0)=EdGraphPin'"K2Node_CallFunction_98314.EdGraphPin_3400"'
   End Object
   Begin Object Name="EdGraphPin_3531"
      PinName="Break"
      PinType=(PinCategory="exec")
   End Object
   Begin Object Name="EdGraphPin_3532"
      PinName="LoopBody"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'"K2Node_IfThenElse_107.EdGraphPin_3461"'
   End Object
   Begin Object Name="EdGraphPin_3533"
      PinName="Array Element"
      Direction=EGPD_Output
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor')
      LinkedTo(0)=EdGraphPin'"K2Node_CallFunction_98704.EdGraphPin_3438"'
      LinkedTo(1)=EdGraphPin'"K2Node_DynamicCast_662.EdGraphPin_6734"'
   End Object
   Begin Object Name="EdGraphPin_3534"
      PinName="Array Index"
      Direction=EGPD_Output
      PinType=(PinCategory="int")
   End Object
   Begin Object Name="EdGraphPin_3535"
      PinName="Completed"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
   End Object
   MacroGraphReference=(MacroGraph=EdGraph'/Engine/EditorBlueprintResources/StandardMacros.StandardMacros:ForEachLoopWithBreak',GraphBlueprint=Blueprint'/Engine/EditorBlueprintResources/StandardMacros.StandardMacros',GraphGuid=F07560274C5742E391E84B8F394CFB36)
   ResolvedWildcardType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.Actor',bIsArray=True)
   Pins(0)=EdGraphPin'EdGraphPin_3529'
   Pins(1)=EdGraphPin'EdGraphPin_3530'
   Pins(2)=EdGraphPin'EdGraphPin_3531'
   Pins(3)=EdGraphPin'EdGraphPin_3532'
   Pins(4)=EdGraphPin'EdGraphPin_3533'
   Pins(5)=EdGraphPin'EdGraphPin_3534'
   Pins(6)=EdGraphPin'EdGraphPin_3535'
   NodePosX=880
   NodePosY=464
   ErrorType=1
   ErrorMsg="Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak 
Error Unexpected node type K2Node_MacroInstance encountered at  ForEachLoopWithBreak "
   NodeGuid=841EE6714987375A8AD50E9E4F80FB2D
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_98704"
   Begin Object Class=EdGraphPin Name="EdGraphPin_3437"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3438"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3439"
   End Object
   Begin Object Name="EdGraphPin_3437"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="object\'KismetSystemLibrary\' Target"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetSystemLibrary')
      DefaultObject=Default__KismetSystemLibrary
      bHidden=True
   End Object
   Begin Object Name="EdGraphPin_3438"
      PinName="Object"
      PinToolTip="object\'Object\' Object"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object',bIsConst=True)
      LinkedTo(0)=EdGraphPin'"K2Node_MacroInstance_1158.EdGraphPin_3533"'
   End Object
   Begin Object Name="EdGraphPin_3439"
      PinName="ReturnValue"
      PinToolTip="string Return Value"
      Direction=EGPD_Output
      PinType=(PinCategory="string")
      LinkedTo(0)=EdGraphPin'"K2Node_CallFunction_98754.EdGraphPin_3363"'
   End Object
   bIsPureFunc=True
   FunctionReference=(MemberParentClass=Class'/Script/Engine.KismetSystemLibrary',MemberName="GetDisplayName")
   Pins(0)=EdGraphPin'EdGraphPin_3437'
   Pins(1)=EdGraphPin'EdGraphPin_3438'
   Pins(2)=EdGraphPin'EdGraphPin_3439'
   NodePosX=1072
   NodePosY=656
   NodeGuid=A9220E524BCD97234100589F2ECE10D2
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_98754"
   Begin Object Class=EdGraphPin Name="EdGraphPin_3362"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3363"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3364"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3365"
   End Object
   Begin Object Name="EdGraphPin_3362"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="object\'KismetStringLibrary\' Target"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetStringLibrary')
      DefaultObject=Default__KismetStringLibrary
      bHidden=True
   End Object
   Begin Object Name="EdGraphPin_3363"
      PinName="A"
      PinToolTip="string A

- The string to compare against"
      PinType=(PinCategory="string")
      LinkedTo(0)=EdGraphPin'"K2Node_CallFunction_98704.EdGraphPin_3439"'
   End Object
   Begin Object Name="EdGraphPin_3364"
      PinName="B"
      PinToolTip="string B

- The string to compare"
      PinType=(PinCategory="string")
      DefaultValue="PulsingCube"
   End Object
   Begin Object Name="EdGraphPin_3365"
      PinName="ReturnValue"
      PinToolTip="bool Return Value

s True if the strings are equal, false otherwise"
      Direction=EGPD_Output
      PinType=(PinCategory="bool")
      DefaultValue="false"
      AutogeneratedDefaultValue="false"
      LinkedTo(0)=EdGraphPin'"K2Node_IfThenElse_107.EdGraphPin_3462"'
   End Object
   bIsPureFunc=True
   FunctionReference=(MemberParentClass=Class'/Script/Engine.KismetStringLibrary',MemberName="EqualEqual_StrStr")
   Pins(0)=EdGraphPin'EdGraphPin_3362'
   Pins(1)=EdGraphPin'EdGraphPin_3363'
   Pins(2)=EdGraphPin'EdGraphPin_3364'
   Pins(3)=EdGraphPin'EdGraphPin_3365'
   NodePosX=1312
   NodePosY=768
   NodeGuid=94820E374BD6C36ED920E88B46C5C007
End Object
Begin Object Class=K2Node_IfThenElse Name="K2Node_IfThenElse_107"
   Begin Object Class=EdGraphPin Name="EdGraphPin_3461"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3462"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3463"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_3464"
   End Object
   Begin Object Name="EdGraphPin_3461"
      PinName="execute"
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'"K2Node_MacroInstance_1158.EdGraphPin_3532"'
   End Object
   Begin Object Name="EdGraphPin_3462"
      PinName="Condition"
      PinType=(PinCategory="bool")
      DefaultValue="true"
      AutogeneratedDefaultValue="true"
      LinkedTo(0)=EdGraphPin'"K2Node_CallFunction_98754.EdGraphPin_3365"'
   End Object
   Begin Object Name="EdGraphPin_3463"
      PinName="then"
      PinFriendlyName="true"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'"K2Node_DynamicCast_662.EdGraphPin_6733"'
   End Object
   Begin Object Name="EdGraphPin_3464"
      PinName="else"
      PinFriendlyName="false"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
   End Object
   Pins(0)=EdGraphPin'EdGraphPin_3461'
   Pins(1)=EdGraphPin'EdGraphPin_3462'
   Pins(2)=EdGraphPin'EdGraphPin_3463'
   Pins(3)=EdGraphPin'EdGraphPin_3464'
   NodePosX=1136
   NodePosY=448
   NodeGuid=B71A4925407ED7C5A66765A3A69496D4
End Object
Begin Object Class=K2Node_DynamicCast Name="K2Node_DynamicCast_662"
   Begin Object Class=EdGraphPin Name="EdGraphPin_6737"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_6736"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_6735"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_6734"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_6733"
   End Object
   Begin Object Name="EdGraphPin_6737"
      PinName="AsStaticMeshActor"
      Direction=EGPD_Output
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.StaticMeshActor')
      LinkedTo(0)=EdGraphPin'"K2Node_VariableGet_351.EdGraphPin_7095"'
   End Object
   Begin Object Name="EdGraphPin_6736"
      PinName="CastFailed"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
   End Object
   Begin Object Name="EdGraphPin_6735"
      PinName="then"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'"K2Node_CallFunction_86813.EdGraphPin_7052"'
   End Object
   Begin Object Name="EdGraphPin_6734"
      PinName="Object"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
      LinkedTo(0)=EdGraphPin'"K2Node_MacroInstance_1158.EdGraphPin_3533"'
   End Object
   Begin Object Name="EdGraphPin_6733"
      PinName="execute"
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'"K2Node_IfThenElse_107.EdGraphPin_3463"'
   End Object
   TargetType=Class'/Script/Engine.StaticMeshActor'
   Pins(0)=EdGraphPin'EdGraphPin_6733'
   Pins(1)=EdGraphPin'EdGraphPin_6734'
   Pins(2)=EdGraphPin'EdGraphPin_6735'
   Pins(3)=EdGraphPin'EdGraphPin_6736'
   Pins(4)=EdGraphPin'EdGraphPin_6737'
   NodePosX=1424
   NodePosY=496
   NodeGuid=31CA61F049B35B4C51BF4A83CF8EDAE8
End Object
Begin Object Class=K2Node_Event Name="K2Node_Event_441"
   Begin Object Class=EdGraphPin Name="EdGraphPin_6964"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_6963"
   End Object
   Begin Object Name="EdGraphPin_6964"
      PinName="then"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'"K2Node_CallFunction_98314.EdGraphPin_3395"'
   End Object
   Begin Object Name="EdGraphPin_6963"
      PinName="OutputDelegate"
      Direction=EGPD_Output
      PinType=(PinCategory="delegate",PinSubCategoryObject=Function'/Script/UMG.UserWidget:Construct')
   End Object
   EventSignatureName="Construct"
   EventSignatureClass=Class'/Script/UMG.UserWidget'
   bOverrideFunction=True
   Pins(0)=EdGraphPin'EdGraphPin_6963'
   Pins(1)=EdGraphPin'EdGraphPin_6964'
   NodePosX=320
   NodePosY=512
   NodeGuid=5DCF3C334B2A765309E80B94CC759991
End Object
Begin Object Class=K2Node_VariableSet Name="K2Node_VariableSet_178"
   Begin Object Class=EdGraphPin Name="EdGraphPin_7034"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_7035"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_7036"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_7037"
   End Object
   Begin Object Name="EdGraphPin_7034"
      PinName="execute"
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'"K2Node_CallFunction_86813.EdGraphPin_7053"'
   End Object
   Begin Object Name="EdGraphPin_7035"
      PinName="then"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
   End Object
   Begin Object Name="EdGraphPin_7036"
      PinName="materialDynamic"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.MaterialInstanceDynamic')
      LinkedTo(0)=EdGraphPin'"K2Node_CallFunction_86813.EdGraphPin_7057"'
   End Object
   Begin Object Name="EdGraphPin_7037"
      PinName="self"
      PinType=(PinCategory="object",PinSubCategory="self")
      bHidden=True
   End Object
   VariableReference=(MemberName="materialDynamic",bSelfContext=True)
   Pins(0)=EdGraphPin'EdGraphPin_7034'
   Pins(1)=EdGraphPin'EdGraphPin_7035'
   Pins(2)=EdGraphPin'EdGraphPin_7036'
   Pins(3)=EdGraphPin'EdGraphPin_7037'
   NodePosX=1008
   NodePosY=1008
   NodeGuid=A17AA1D74A1FD192E8B4E4A2343DCA2A
End Object
Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_253"
   Begin Object Class=EdGraphPin Name="EdGraphPin_7046"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_7047"
   End Object
   Begin Object Name="EdGraphPin_7046"
      PinName="Material"
      Direction=EGPD_Output
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.MaterialInstance')
      LinkedTo(0)=EdGraphPin'"K2Node_CallFunction_86813.EdGraphPin_7056"'
   End Object
   Begin Object Name="EdGraphPin_7047"
      PinName="self"
      PinType=(PinCategory="object",PinSubCategory="self")
      bHidden=True
   End Object
   VariableReference=(MemberName="Material",bSelfContext=True)
   Pins(0)=EdGraphPin'EdGraphPin_7046'
   Pins(1)=EdGraphPin'EdGraphPin_7047'
   NodePosX=528
   NodePosY=1152
   NodeGuid=EF6AC97A4B7E2CD4539ACFB5DDD6BBE9
End Object
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_86813"
   Begin Object Class=EdGraphPin Name="EdGraphPin_7052"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_7053"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_7054"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_7055"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_7056"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_7057"
   End Object
   Begin Object Name="EdGraphPin_7052"
      PinName="execute"
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'"K2Node_DynamicCast_662.EdGraphPin_6735"'
   End Object
   Begin Object Name="EdGraphPin_7053"
      PinName="then"
      Direction=EGPD_Output
      PinType=(PinCategory="exec")
      LinkedTo(0)=EdGraphPin'"K2Node_VariableSet_178.EdGraphPin_7034"'
   End Object
   Begin Object Name="EdGraphPin_7054"
      PinName="self"
      PinFriendlyName="Target"
      PinToolTip="object\'PrimitiveComponent\' Target"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.PrimitiveComponent')
      LinkedTo(0)=EdGraphPin'"K2Node_VariableGet_351.EdGraphPin_7094"'
   End Object
   Begin Object Name="EdGraphPin_7055"
      PinName="ElementIndex"
      PinToolTip="int Element Index

- The index of the skin to replace the material for.  If invalid, the material is unchanged and NULL is returned."
      PinType=(PinCategory="int")
      DefaultValue="0"
      AutogeneratedDefaultValue="0"
   End Object
   Begin Object Name="EdGraphPin_7056"
      PinName="SourceMaterial"
      PinToolTip="object\'MaterialInterface\' Source Material"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.MaterialInterface')
      LinkedTo(0)=EdGraphPin'"K2Node_VariableGet_253.EdGraphPin_7046"'
   End Object
   Begin Object Name="EdGraphPin_7057"
      PinName="ReturnValue"
      PinToolTip="object\'MaterialInstanceDynamic\' Return Value"
      Direction=EGPD_Output
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.MaterialInstanceDynamic')
      LinkedTo(0)=EdGraphPin'"K2Node_VariableSet_178.EdGraphPin_7036"'
   End Object
   FunctionReference=(MemberParentClass=Class'/Script/Engine.PrimitiveComponent',MemberName="CreateDynamicMaterialInstance")
   Pins(0)=EdGraphPin'EdGraphPin_7052'
   Pins(1)=EdGraphPin'EdGraphPin_7053'
   Pins(2)=EdGraphPin'EdGraphPin_7054'
   Pins(3)=EdGraphPin'EdGraphPin_7055'
   Pins(4)=EdGraphPin'EdGraphPin_7056'
   Pins(5)=EdGraphPin'EdGraphPin_7057'
   NodePosX=704
   NodePosY=976
   ErrorType=1
   ErrorMsg="Error  blueprint (self) is not a PrimitiveComponent, therefore \' Target \' must have a connection
Error  blueprint (self) is not a PrimitiveComponent, therefore \' Target \' must have a connection"
   NodeGuid=549B60974620516FB9E997A3E77FE133
End Object
Begin Object Class=K2Node_VariableGet Name="K2Node_VariableGet_351"
   Begin Object Class=EdGraphPin Name="EdGraphPin_7094"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_7095"
   End Object
   Begin Object Name="EdGraphPin_7094"
      PinName="StaticMeshComponent"
      Direction=EGPD_Output
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.StaticMeshComponent')
      LinkedTo(0)=EdGraphPin'"K2Node_CallFunction_86813.EdGraphPin_7054"'
   End Object
   Begin Object Name="EdGraphPin_7095"
      PinName="self"
      PinFriendlyName="Target"
      PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.StaticMeshActor')
      LinkedTo(0)=EdGraphPin'"K2Node_DynamicCast_662.EdGraphPin_6737"'
   End Object
   VariableReference=(MemberParentClass=Class'/Script/Engine.StaticMeshActor',MemberName="StaticMeshComponent")
   SelfContextInfo=NotSelfContext
   Pins(0)=EdGraphPin'EdGraphPin_7094'
   Pins(1)=EdGraphPin'EdGraphPin_7095'
   NodePosX=368
   NodePosY=976
   NodeGuid=4BFF734D4A18EA76C1A442AD3ED29BB8
End Object


Thanks! Not sure how i could miss the “Add Variable” part :slight_smile:

[QUOTE=MathewW;124468]

Ooooooh, I’m such a dumbass. I see what you did there, I was tryingto communicate a component from a blueprint I had, but that way is way better, thxs pal, I’ll give it a shot :smiley:

Edit: IT WORKED, dude, I owe you a beer :smiley:

Maybe is already possible, but it would be nice if we could have an option to ‘force’ fit text. So if text is entered in a button it will shrink its size to fit within the buttons bounds automatically.

In the latest version in the Main branch there is a scale box that will let you do just that. You design your button the way you want it to look in terms of alignment and have the Text Block wrapped with a Scale Box and it will then make sure the bounds of the Text Block are fit withing the bounds of your Scale Box. The Font size itself does not change but the text does scale and fit appropriately.

Thanks Mathew for the heads up. Anyone know if there is a way to make the Scroll Box horizontal?

In the main branch you can adjust the way it scrolls either Horizontal or Vertical.

Thanks, I’ll check it out on the next preview.

Hi, I’m trying to make example work (texts above things in the game world).
It is working when I play it as “Standalone Game” from the editor : pic
However, when I play it in the editor viewport the text is off : pic

I’m using the topdown blueprint template and is what I did:
user widget
create widget blueprint (I couldn’t make it work with the absolute layout ticked)
tick blueprint

It seems the ConvertWorldLocationToScreenLocation node gives different coordinates when it runs in the editor.
What am I doing wrong?

I just went and recreated your code and no issues in 4.4.1. Play in editor and play in standalone all give me the same results. I tried it on a generic empty map with a 3rd person view, one in first, and in the top down example.

When looking at your odd picture I noticed there is no shadow from the cube but there is one in the other screenshot. Is is possible the cube is not actually on the top of the level and in the correct spot? If the cube you have script attached to is too high or too low for example it will lock the text to your screen on the side and depending on how you laid out your canvas it might cause . You can always try just loading up a new level and dropping your cube into it and seeing what happens in both play modes.

Also maybe your static mesh your using for your cube in MyBox is not at 0,0,0 ? Just tossing out some ideas.

The following simple widget BP was working fine before last few days 4.4.0 to 4.4.0 update (yes, no version number change on my end):

I could isolate that the “delay” node would stop the chain doing nothing after it, but if I were to bypass it, “Find All Actors from Class” would crash the editor every time. I should mention that it used to work fine without the delay earlier too.


On my end, I had 4.4.0 installed (beta, then updated to release) and on the weekend it did another update but the number remained 4.4.0. On your launcher it says 4.4.1? When was it updated?

4.4.1 Hotfix Preview! - Announcements - Epic Developer Community Forums!

There is something “Weird” with 4.4.0 right now with a phantom update so you might want to get the 4.4.1 preview and see if it helps.

Thank you for the heads up. Crossing fingers.