Instructions/Multiply: Difference between revisions

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


 
Multiplies the top input by the bottom input.
==== Uses ====
==== Uses ====


Used for multiplication of numbers OR coordinates.


When multiplying numbers with accompanying values, the top input value is preserved unless the bottom input value contains a coordinate in which case the top value will be overwritten by the coordinate into the output.


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


 
[[Instructions/Set Number|Set Number]], [[Instructions/Subtract|Subtract]], [[Instructions/Add|Add]]
{{Instruction_Bottom}}
{{Instruction_Bottom}}

Latest revision as of 19:37, 13 September 2023


Multiply
     
     Multiplies a number or coordinate from another number or coordinate
Lua ID mul
Category Math
Icon Mul Numbers.png
Argument One: Type Input
Argument One: Name To
Argument One: Data Type coord_num
Argument Two: Type Input
Argument Two: Name Num
Argument Two: Data Type coord_num
Argument Three: Type Output
Argument Three: Name Result



Description[edit | edit source]

Multiplies the top input by the bottom input.

Uses[edit | edit source]

Used for multiplication of numbers OR coordinates.

When multiplying numbers with accompanying values, the top input value is preserved unless the bottom input value contains a coordinate in which case the top value will be overwritten by the coordinate into the output.

Similar Instructions[edit | edit source]

Set Number, Subtract, Add