Announcement

Collapse
No announcement yet.

Communicating between classes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Communicating between classes

    Hy all!

    Somebody can help to me?
    I cant get variables value and cant call functions from one bp to another bp
    Somebody can link a video or tutorial?
    I want to communicat between gamemode-blueprint-widgets get-set-call func etc.
    Please help me :/

    #2
    Besides direct references to one another, you could try an Event Dispatcher.
    Rule#21: Be polite, be professional, but have a plan to kill everyone you meet.

    Comment


      #3
      Originally posted by MrAzzeroth View Post
      Hy all!

      Somebody can help to me?
      I cant get variables value and cant call functions from one bp to another bp
      Somebody can link a video or tutorial?
      I want to communicat between gamemode-blueprint-widgets get-set-call func etc.
      Please help me :/

      https://www.youtube.com/watch?v=z4Xv_WNxpIE

      Comment


        #4
        Hmm, thanks all, while moderators checked my post, i Use now the game instance with casting for varoanles and functions and i read the gamemode is only serverside(?).
        But thanks for the answers and i check the dispatcher.

        Comment


          #5
          Easiest way I find is by getting a reference to the other actor at beginplay and promiting it to a variable. Then you can later use that reference to adress said actor and change whatever values it has of it.

          Comment


            #6
            Blueprint Interface is by far the quickest easiest way.
            | Savior | USQLite | FSM | Object Pool | Sound Occlusion | Property Transfer | Magic Nodes | MORE |

            Comment


              #7
              Aaaaand, somebody can help in the hud?
              I want to make a login-char selection-ingame interface.... widget, on otherleves like login level character selection level and game level.
              What i need to use?
              Make a Game hud and how can i handle the different widgets?

              Comment

              Working...
              X