Has anyone seen a way to construct a float out of bytes?
I've gone down many "casting" paths and just end up with a big integer.
Going down the "array" path, I've gotten the following to compile, but the game crashes when the code setting the variable is called:
.
.
.
local byte B[255];
local array<float> myTestArray;
.
.
B[0]=0;
B[1]=128;
B[2]=173;
B[3]=67;
.
.
myTestArray[0] = float(B);
Thanks for any feedback.
I've gone down many "casting" paths and just end up with a big integer.
Going down the "array" path, I've gotten the following to compile, but the game crashes when the code setting the variable is called:
.
.
.
local byte B[255];
local array<float> myTestArray;
.
.
B[0]=0;
B[1]=128;
B[2]=173;
B[3]=67;
.
.
myTestArray[0] = float(B);
Thanks for any feedback.