Overview
Reads a float (4 bytes) from the specified memory address. Range: unlimited.
(number) Address of Memory.
(number) Return Float that reads from memory.
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
mem = Memory.Allocate(1024) Memory.PutFloat(mem, 1024.56) Dialog.Message("", Memory.GetFloat(mem)) -- Print 1024.5600585938 Memory.Free(mem)
See also: Related Actions