Instructions/Copy: Difference between revisions

From Desynced Wiki
(Created page with "{{Instruction_Top}} ==== Description ==== ==== Uses ==== ==== Similar Instructions ==== {{Instruction_Bottom}}")
 
(informational)
 
Line 3: Line 3:
==== Description ====
==== Description ====


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


 
Used for duplicating data or for storing it temporarily.


==== Similar Instructions ====
==== Similar Instructions ====


 
[[Instructions/Set to Component|Set to Component]], [[Instructions/Set Number|Set Number]], [[Instructions/Set Research|Set Research]], [[Instructions/Set Signpost|Set Signpost]]
{{Instruction_Bottom}}
{{Instruction_Bottom}}

Latest revision as of 04:45, 17 September 2023


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