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"

Single float compare

I need simple difference between 1 float if it's possible, maybe it's easy to do, but my math isn't that great to figurate this out, i need help please !

Expl. if float is (250) and if it gets random by numbber - or +, in this case let's say (-50) that will be equal 200, but all i need is my BP to count how much randomed number is far away from 250. In This case will be (-50)

one more Expl. Deep inside what i exactly need

  1. Main Float (340) Random - or + (+38) = (Difference i need) (+38)

  2. Second tick : Main Float (378) Random - or + (+2) = (Difference i need) = (+40)

  3. Third Tick : Main Float (380) Random - or + (-100) = (Difference i need) = (-60)

i think i explain you exactly what i need !

Product Version: UE 4.16
more ▼

asked Jul 23 '17 at 06:21 PM in Using UE4

avatar image

84 4 6 14

avatar image ppchavan001 Jul 23 '17 at 06:30 PM

try using two float variables 1. the main float 2. the randomized one and then u will only need to do is 2-1...

(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