Instructions/Unequip Component Remotely

From Desynced Wiki


Unequip Component Remotely
     File:Instructions-Unequip Component Remotely.png
     Unequips a component if it exists
Lua ID unequip_component_remotely
Category AutoBase
Icon Detach.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 or slot was empty
Argument Three: Type Input
Argument Three: Name Component
Argument Three: Description Component to unequip
Argument Three: Data Type comp
Argument Four: Type Input
Argument Four: Name Slot index
Argument Four: Description Individual slot to try to unequip component from
Argument Four: Data Type num