Reset Array input in Get Attached Actors node.

Hi! Can you explain me, what does Reset Array input in this node do? Cant find any information about this.

Π‘Π½ΠΈΠΌΠΎΠΊ экрана 2023-09-07 140145

This simply means it clears the array before filling it with results.

It only matters for C++, because it is an argument passed by reference.

For blueprints it doesn’t matter as it always work with a clean array, unless it is specifically a β€œby-ref” (in-out) parameter which is would be on the left side and with a diamond pin.

2 Likes