grandMA3 User Manual Publication
GetChannelFunctionIndex()
grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » GetChannelFunctionIndex()
|
Version 2.1
|
Description
The GetChannelFunctionIndex Lua function returns the integer matching a channel function based on two index inputs.
Arguments
- Integer:
The first integer is a UI Channel Index. This can be found in the Parameter List or by the GetUIChannelIndex() Lua function. - Integer:
This integer is an Attribute Index (0-based). This can be found in the Attribute Definitions or by the GetAttributeIndex() Lua function.
Return
- Integer:
The returned integer to a channel function.
Example
This example prints the indexes based on the fixture selection and the "Dimmer" attribute.
Lua |
return function() |