Increment operator not working

I want the numbers to keep on increasing 0,1,2,3,… But I’m just getting 0’s only . How can I get this result. This is the cine camera blueprint. Before that I was tried this in actor blueprint it is working well. But here it is not working. How can I fix this?


1 Like

image

That’s it, done.

1 Like

Could you please explain me in detail .I’m noob

Instead of this

image

Put my code above :slight_smile:

You can say

image

or

image

1 Like

could you please tell me how the back view updated ? in last solution? with out set the value?

The ++ node is macro, double click it to see what’s inside. Keep double clicking to go deeper.

tl;dr: the value is set by reference

1 Like

See the way it’s shaped like a diamond?

image

That means the code has direct access to the variable, and can set it without a set node…

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.