Ar SetFloatsFrom
From GECK
A function added by the SUP NVSE Plugin.
Description
Sets float variables from variables in array (up to 10).
Syntax
Ar_SetFloatsFrom myArr:array f1:float f2:float f3:float f4:float f5:float f6:float f7:float f8:float f9:float f10:float
Example
array_var ar_myArr float f1 float f2 float f3 float f4 let ar_myArr := Ar_List 3 8 5 1 Ar_SetFloatsFrom ar_myArr f1 f2 f3 f4
- Output
- f1 == 3
- f2 == 8
- f3 == 5
- f4 == 1
let ar_myArr := Ar_SetFloatsFrom ar_myArr f1 f2 f3 f4
Will do the same as above, destroying ar_myArr in the process (similar to Ar_Null).