[Blueprint] Does exist an Integer node?

Hi,

This is a really basic question. I have been checking all the nodes related to integer in blueprint and can’t find one to just add a integer to the graph. For example to add 2+2. The only node I think that could fit is Make Literal int but I think this is not what I should be using.

Could anyone help here?

Cheers.

There is a + node.

The basic math nodes (+,-,*,/) all work perfectly for this.

You can also use the Math expression node though this one is still experimental.

Do you mean just inputing the value manually in the (+,-,*,/) nodes? This would work yes… Did not noticed there would no need to add a node to input the integer v_v’.

Thanks.

I will try to ask this a bit differnt. I have a SetVisiblity component and want to give to the NewVisiblity input a value of false. What node do you create that represent false (I’m looking for a general way to create constants in blueprints).

Well… that’s a Boolean. Not an integer. You might wanna use a variable for this if you plan on changing the value.

If not then why would you need that? Each input pin for a Boolean (true/false) comes with a check box to represent this.

The same goes for every other (basic) type.

I tried not to change the the question in the middle of the answer (I think I did it). Just prefered this instead of rephrase the main question. Sorry for that. This answers the question I wanted to make at a first glance. DId not notice this checkboses beside the input.

Great! :smiley:

Remember to accept the answer again (so people know this question is solved).

Or just ask on :wink: