Instructions/Equip Component Remotely

From Desynced Wiki
Revision as of 09:41, 1 August 2025 by Kelno (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Equip Component Remotely
     File:Instructions-Equip Component Remotely.png
     Equips a component if it exists in the unit's inventory
Lua ID equip_component_remotely
Category AutoBase
Icon Home.png
Argument One: Type Input
Argument One: Name Unit
Argument One: Description The unit to equip component on (if not self)
Argument One: Data Type entity
Argument Two: Type Exec
Argument Two: Name No Component
Argument Two: Description If you don't current hold the requested component
Argument Three: Type Input
Argument Three: Name Component
Argument Three: Description Component to equip
Argument Three: Data Type comp
Argument Four: Type Input
Argument Four: Name Slot index
Argument Four: Description Individual slot to equip component from
Argument Four: Data Type num