GetAttributeCount()
Description
Section titled âDescriptionâThe GetAttributeCount Lua function returns the total number of attribute definitions in the show.
Arguments
Section titled âArgumentsâThis function does not accept any arguments.
- Integer:
The returned integer number represents the total amount of attribute definitions in the show file.
Example
Section titled âExampleâThis example prints the returned number in the Command Line History.
| Copy CodeLua |
| ``` |
| return function() |
Printf("Attribute count is %i", GetAttributeCount())end