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"

Button Clicked UMG and Level Blueprint

I have the inventory that is working through UMG. In the inventory, I have the button clicked event called DROP, so when I select the item in inventory and click on DROP, it's is dropped. However, I want to have communication with level blueprint, so, for the instance, when I drop the specific item from the inventory matinee is played.

Product Version: UE 4.9
Tags:
more ▼

asked Nov 01 '15 at 07:17 PM in Blueprint Scripting

avatar image

Belmin
11 2 6 7

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

1 answer: sort voted first

You must save your widget reference in level blueprint. Then need to add public variable to your widget, id of item . default value is 0. After clicking drop button set this variable something, like 2(id of your dropping item). From level blueprint on event tick you are checking if widgets variable is greater then 0 and if it is you are setting to 0 and playing matinee. If you can't get how to do ask and i will give you an example with picture (y)

more ▼

answered Nov 01 '15 at 09:42 PM

avatar image

kubiknubik
336 17 3 17

avatar image Belmin Nov 01 '15 at 10:15 PM

Thank you for answer. Picture will for sure help out, I will give it a go, but if you can place the picture it will be easier for sure. Thank you again.

(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