Instructions/Separate Register: Difference between revisions

From Desynced Wiki
(Initial add of details for the instruction.)
 
Line 6: Line 6:


==== Uses ====
==== Uses ====
 
When performing math instructions on a register containing both a coordinate and a number, it is highly recommended to split the register down into parts using this instruction.
PLEASE ADD SUGGESTED USES


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

Revision as of 00:24, 23 October 2023


Separate Register
     
     Split a register into separate parameters
Lua ID separate_register
Category Math
Icon Compare Values.png
Argument One: Type Input
Argument One: Name Register
Argument One: Data Type entity
Argument Two: Type Output
Argument Two: Name Num
Argument Three: Type Output
Argument Three: Name Unit
Argument Four: Type Output
Argument Four: Name ID
Argument Five: Type Output
Argument Five: Name x
Argument Six: Type Output
Argument Six: Name y



Description

Split a register into separate parameters

Uses

When performing math instructions on a register containing both a coordinate and a number, it is highly recommended to split the register down into parts using this instruction.

Similar Instructions

Combine Register, Set Number, Subtract, Add