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"

Multiple widget calling in blueprints?

So I made a blueprint in which the class widget shows up on the screen when the spacebar is hit. But, the thing I'd like to do since I have Mutliple text widgets, is to call the second widget on the second time the spacebar is pressed. So far, I can only call all three widgets on the first time the spacebar is hit. Any ideas?

Product Version: UE 4.22
Tags:
more ▼

asked Apr 11 '19 at 06:32 PM in Blueprint Scripting

avatar image

ILutimus Prime
1

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

2 answers: sort voted first

From your question what i think ure trying to do it use the same input "spacebar" and every time u fire it off u want a new widget to appear from ure 3 choices...

I would have the spacebar set an index value on every press, u can use a modulo(%) operation to make a wrapper from 0-2, after 2 it will go back to 0. Then make a switch on int node , and drive the logic based on the incoming input value.

more ▼

answered Apr 11 '19 at 09:57 PM

avatar image

skealeye
141 3 4 4

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

I actually figured it out. I used a gate node.

more ▼

answered Apr 14 '19 at 04:54 PM

avatar image

ILutimus Prime
1

(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