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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Make interface screen button interact with other entities.

I have been looking for a while but I haven't find anything helpful. I'm trying to make a selection screen and I need to make that every time you press the Next button it shows a new character. I fail at making the button in the actor interact with the other entities. Any tip or guide of how to do this?


Product Version: UE 4.7
more ▼

asked May 26 '15 at 07:13 PM in Blueprint Scripting

avatar image

11 1 3 7

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Use interfaces, and make sure that the interface is implemented on both ends of the communication line. Without knowing more about what you are doing, it is hard to say.

more ▼

answered May 26 '15 at 07:27 PM

avatar image

699 43 28 68

avatar image Javyer May 26 '15 at 07:40 PM

Thanks for the answer. I have a character with the camera pointing to a wall where the actor (the player selection screen) is standing. The idea is that if the player press next the actor is destroyed and replaced for another actor. I need the button to link with this actors, but I don't know how.

(comments are locked)
10|2000 characters needed characters left

There are a few ways of doing this. You can very easily talk to other entities by casting and calling functions. Here is an example from my current project. This is in a Widget blueprint: alt text

As you can see, when the boost button is clicked in the widget, we get the player pawn, cast it to our player pawn class and call the function "mobile boost" (located in my "FlyingPlayerPawn" blueprint). Super easy stuff :).

You can also most likely use an interface like RAVaught said.

Hope this helps! I know this is confusing at first glance.

boostss.png (76.7 kB)
more ▼

answered May 26 '15 at 10:55 PM

avatar image

196 31 29 50

(comments are locked)
10|2000 characters needed characters left
Your answer
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