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"

Transfer a string to a button widget

How can I transfer a string value from the Level Blueprint to a button in a blueprint-widget. What would be the right way to go about Blueprints? Thanks for helping. Andreas

Product Version: Not Selected
Tags:
more ▼

asked Jan 20 '15 at 09:41 PM in Blueprint Scripting

avatar image

Andreas000007
1 1

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

1 answer: sort voted first

I'm not exactly sure what you're asking but - i think what you might want is an interface. An interface is a special kind of blueprint with no graph that defines a set of functions. You can then attach this to any object you want including your button.

You define in your button how this interface is implemented. Then, you can call this interface on the instance of your button in the level blueprint and do what you want with it - including setting a string.

You could create a function straight onto your button, but if you make an interface you can use this again with other objects you may want to have this behaviour on.

more ▼

answered Jan 24 '15 at 11:55 AM

avatar image

Asher S Einhorn
650 94 80 182

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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