Instructions/Get from Component Remotely

From Desynced Wiki


Get from Component Remotely
     File:Instructions-Get from Component Remotely.png
     Reads a value from a component register
Lua ID get_reg_remotely
Category AutoBase
Icon Set Component Reg.png
Argument One: Type Input
Argument One: Name Unit
Argument One: Description The unit to get component register from (if not self)
Argument One: Data Type entity
Argument Two: Type Input
Argument Two: Name From
Argument Two: Description Component and register number to get remotely
Argument Two: Data Type comp_num
Argument Three: Type Output
Argument Three: Name Value
Argument Three: Description Value of Register
Argument Four: Type Input
Argument Four: Name Component Index
Argument Four: Description Component index if multiple are equipped
Argument Four: Data Type num