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"

How can I get an integer's properties?

I add an integer variable, and set its value ranges and slider ranges. Both of them are 1 to 99. Properties of an integer variable.

How can I get those properties from BP? I search 'range' and nothing found: Nothing found with 'range' keyword.

Product Version: UE 4.21
a.png (42.3 kB)
a.png (88.0 kB)
more ▼

asked Jun 13 '19 at 01:01 AM in Blueprint Scripting

avatar image

11 1 2 5

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

1 answer: sort voted first

These are editor side only, usable when editable. Can't be used run-time. If you need extra functionality encapsulated in a single variable, create a struct and include min / max range. So a struct with 3 ints would do the trick here.

more ▼

answered Jun 13 '19 at 08:31 AM

avatar image

15.3k 77 26 64

avatar image Shadowriver Jun 13 '19 at 08:38 AM

To make it clearer, the ranges are only for UI in property editor for that variable. Variables need to be ranged programaticly either by checking value, or processing it with min, max or clamp nodes

(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