Instructions/Load Behavior

From Desynced Wiki


Load Behavior
     File:Instructions-Load Behavior.png
     Load and run a behavior on an external unit
Lua ID load_behavior
Category Unit
Icon Set Component Reg.png
Argument One: Type Input
Argument One: Name Unit
Argument One: Description The unit to load the behavior on (if not self)
Argument One: Data Type entity
Argument Two: Type Input
Argument Two: Name Component Index
Argument Two: Description Component index if multiple are equipped
Argument Two: Data Type posnum
Argument Three: Type Exec
Argument Three: Name Failed
Argument Three: Description Failed