From the documentation:
So intuitively I tried the following, which is not compiling:
Please enlighten me on how to pass an array to a function?
You can pass any UnrealScript types to a function (including arrays)
So intuitively I tried the following, which is not compiling:
Code:
function Hi()
{
local byte test[2];
Hello(test); // Pass array
}
function Hello(byte test)
{
}
Please enlighten me on how to pass an array to a function?
Last edited: