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"

Random Execution Wire

I'm quite new in UE4 and I was wondering if there was a blueprint node that executes a random execution wire (just one) in a range of outputs. There is the Multigate Node but it executes (also in a random way) ALL the outputs pins.

I know how to do that using branchs and integer variables (random integer in a range) but it takes time (not so much after all...) but a node as I described would simplify a lot my work.

In the Flow Control section there's nothing that can help me I think. alt text

I need something like this: alt text

Sorry for my english, I'm not mothertongue :) Thanks!!

Product Version: UE 4.15
Tags:
immagine.png (18.4 kB)
more ▼

asked Mar 27 '17 at 10:25 AM in Blueprint Scripting

avatar image

Fatalys93
17 3 9 13

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

What about multigate isn't working for you? IsRandom checked, Loop unchecked, Start Index -1, it will execute one random output when it's called. Is that not what you want?

more ▼

answered Mar 27 '17 at 11:19 AM

avatar image

Mosel3y
1.8k 48 20 67

avatar image Fatalys93 Mar 27 '17 at 11:59 AM

Yes, it works as you said. it's strange because before, while i was playing my game watching the flow between blueprint, MultiGate node was executing all the pins -in random order- not just one. :/ Ok, solved :)

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