Instructions/Separate Register: Difference between revisions

From Desynced Wiki
mNo edit summary
No edit summary
 
Line 12: Line 12:




[[Instructions/Combine Register|Combine Register]], [[Instructions/Set Number|Set Number]]
[[Instructions/Combine Register|Combine Register]], [[Instructions/Combine Coordinate|Combine Coordinate]], [[Instructions/Separate Coordinate|Separate Coordinate]], [[Instructions/Set Number|Set Number]]


{{Instruction_Bottom}}
{{Instruction_Bottom}}

Latest revision as of 00:32, 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[edit | edit source]

Split a register into separate parameters

Uses[edit | edit source]

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[edit | edit source]

Combine Register, Combine Coordinate, Separate Coordinate, Set Number