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"

UMG Drag and Drop scoring

I am working on a small project for the local high school to help provide them with a learning tool for students. I was provided with an image to use. I am trying to make it all with UMG and the drag and drop functionality. So far I have it set up to where you can drag the name onto the the proper image and the color of the image will change and the custom game state will track the points. When the player drops the name on the wrong image then the name will just go back to the list and nothing will change and no points will be given.

I am having trouble figuring out a couple things: 1) Once the player makes the correct selection, the name disappears from the list of options 2 and more importantly) When the player drops the name on the wrong picture, how to detect that in order to reduce the amount of points they will earn for that answer the next time they try.

So far I have it set up with a MainBackground UMG that has the image on it and calls on all the other UMGs tin order to place the list of names. I have the drag and drop functionality in each of the name widgets and check to see if the name variables match. If true then add change color of image and add points (this works). What doesn't work is the false that should lower the point variable (this I can't get to work).

ANY help would be appreciated. Like I said earlier, I am doing this for a teacher at a school to help with his students and am hoping that I will be able to put in a type of leader board that will help to track their scores and for them to track their own progress and compete with each other for fun.

Product Version: UE 4.14
Tags:
more ▼

asked Apr 21 '17 at 02:50 PM in Blueprint Scripting

avatar image

gijustin2001
1 2 2

avatar image gijustin2001 Apr 28 '17 at 02:38 PM

Does anyone have any ideas on how I can go about this?

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

0 answers: sort voted first
Be the first one to answer this question
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