Instructions/Add: Difference between revisions

From Desynced Wiki
No edit summary
(informational)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
==== Description ====
==== Description ====


 
Combines the sum of two inputs. Can be used on coordinates and numbers simultaneously.
==== Uses ====
==== Uses ====


Used for basic addition of coordinates or numbers.


The second input is added into the first input and the value on the first input is preserved, whether that be null or anything else.


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


[[Instructions/Set Number|Set Number]], [[Instructions/Subtract|Subtract]], [[Instructions/Multiply|Multiply]]


{{Instruction_Bottom}}
{{Instruction_Bottom}}

Latest revision as of 19:24, 13 September 2023


Add
     
     Adds a number or coordinate to another number or coordinate
Lua ID add
Category Math
Icon Add 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]

Combines the sum of two inputs. Can be used on coordinates and numbers simultaneously.

Uses[edit | edit source]

Used for basic addition of coordinates or numbers.

The second input is added into the first input and the value on the first input is preserved, whether that be null or anything else.

Similar Instructions[edit | edit source]

Set Number, Subtract, Multiply