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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How would I create player controlled moveable tags on the HUD?

I am attempting to create moveable tags (sort of like 4 buttons) that permanently sit on the HUD and are interactive by the person playing the game. For example -- say you have 4 cars in the game, and each tag on screen represents one of those 4 cars, and is stacked on top of each other. The top 2 tags show the status of 'driving', the tag below it says "towing", and the 4th tag says "parked". How would I create something that stacks these tags, but if the user needed to move the "parked" tag to the top of the list by clicking and dragging it while the other 3 tags shifted down? I don't think UE4 widgets possess this power 'yet', so I assume there must be something else that can generate this functionality. I clipped an image to this post to illustrate my attempts. Any help would be greatly appreciated! Thanks everyone!alt text

Product Version: Not Selected
Tags:
moveabletags.png (6.6 kB)
more ▼

asked Oct 25 '14 at 03:53 AM in Blueprint Scripting

avatar image

SeminoleNation
1 3 3

avatar image eXi Oct 25 '14 at 09:26 AM

Hm, i don't know how to do this with UMG, but i have made Drag&Drop with the normal HUD.

I wrote a small sumup in this questions:

https://answers.unrealengine.com/questions/98250/umg-dragdrop-a-little-help.html

It's the long post. It's basicly working with Hitboxes and arrays that store the current position of one of those elements, as well as the overall positions of those 4 tags. Than it's just a bit of index shifting. Maybe that helps you + reading my comment in the other answer.

avatar image SeminoleNation Oct 25 '14 at 10:29 PM

Thanks eXi. The link you provided will give me something to play around with and see what I can get to work. I appreciate the quick response!

(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