User Tools

Site Tools


ixe:irpl:unit:setcontrollerarg2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ixe:irpl:unit:setcontrollerarg2 [2025/01/12 22:48] Karsten75ixe:irpl:unit:setcontrollerarg2 [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 5: Line 5:
 :!: Available in version 43 and later. :!: Available in version 43 and later.
  
-SetControllerArg2(<-partUID <-controllerName <-arg <-val)+SetControllerArg2(<-partUID <-controllerNumber <-arg <-val)
  
 ===== Description ===== ===== Description =====
-Sets a controller arg for a part. ControllerName is the string name of the controller. Arg is the string name of the arg. If arg does not already exist, it is created and attached to the specified part, then assigned value val.+Sets a controller arg for a part. ControllerNumber is the int position of the controller. For a part with only one controller, it the controllerNumber would be 0. Arg is the string name of the arg. If arg does not already exist, it is created and attached to the specified part, then assigned value val.
  
 ===== Examples ===== ===== Examples =====
 <code irpl> <code irpl>
 </code> </code>
ixe/irpl/unit/setcontrollerarg2.1736722133.txt.gz · Last modified: 2025/02/14 14:56 (external edit)