Instructions/Copy

From Desynced Wiki


Copy
     
     Copy a value to a frame register, parameter or variable
Lua ID set_reg
Category Math
Icon Set Register.png
Argument One: Type Input
Argument One: Name Value
Argument One: Data Type any
Argument Two: Type Output
Argument Two: Name Target



Description[edit | edit source]

Copies the contents of the input to a new or existing parameter/variable/register.

Uses[edit | edit source]

Used for duplicating data or for storing it temporarily.

Similar Instructions[edit | edit source]

Set to Component, Set Number, Set Research, Set Signpost