Download

Proper way to update an array variable within a structure

Hi Guys,
I have run into a small problem with 4.7.3. I have a structure that contains an array variable (i.e. Main structure is for a star ship, array inside star ship is also a structure for weapons). I am trying to update the weapon firing status of one of the element with the weapons array. After you set the weapon array elements, do you then have to save the array element for the star ship?

any time u make a change to the array itll save the changes you make automatically, unless im not understanding. If u keep initializing it’s elements itll overwrite all properties. If youre having issues make sure youre outputting all array element states to screen for debugging.