Updating array of struct

Can you please help with a similar question?

  1. How do I Set all indexes of an Array, to a Certain INT value, and in the Construct Graph,
    • but only once? (Only when the Certain INT value changes in Editor - in original BP or BP Instance copy.)

Meth 1 and 2 code is not working when connected to Construct node:

I have two variables. An INT (“Override”), and “Array” of INTs.
I want an easy way to update each INT in the “Array” to all be the “Override” INT #.

Q2: But only change Array values once in Construct: meaning if in Editor, I manually change “Override #” from 1 to 2, then Array updates to all have 2s.

But if I now I manually change index 1 of “the Array” to a value of 3 (and “Override #” is still at 2), then the Construct code will not trigger to reset all the Array to #2.

(Im not sure of the logic in Construct, if I need to add a Bool, to turn on/off parts of the Construct code til I want it run. Or if I can rely on just not changing the Override Int, and thus that code will not run? But the Meth 1 code is not making the Array update at all, when I change “Override” to 2.)

Please help, ty.

1 Like