getTextAttr

Description

This function returns the value(s) of the module’s selected attribute(s).

Syntax

node.getTextAttr(“node_path”, atFrame, “attrName”);

Arguments

“node_path”, atFrame, “attrName”

node_path: The path of the module whose attributes you want.
atFrame: The frame number from which you want to extract the attribute value. If the value is static, you must still pass a value. You can, for example, pass 1 to take the value at the first frame.
attrName: The attribute whose value you want.

 

Additions specific to the Colour Override module

Use the attribute PALETTES.NUMBER to return the number of palettes in the colour override module's palette list.
Use the attribute PALETTES.x to return the palette at index x from the colour override module's palette list. x is a number between 0 and the number of palettes in the list, minus one. If x is not given (argument is "PALETTES") or x is not valid (< 0 or out of range) then 0 is assumed.

Related Topics 

Node