Chris Gosling wrote:I need to a multi-line text animation, where I need to animate the lines moving down one after another. The effect has to be re-usable, and I will publish as a title effect.
Hi Chris.
This post on the steakunderwater website shows how to load an external text file, one line at a time, into a Text+ node. It might give you some code snippets to work from for adding the individual paragraphs of text to your Text+ nodes using scripting:
https://www.steakunderwater.com/wesuckl ... 208#p12208If you look at macro creation techniques on VFXPedia (
and UserControls in particular) you can add a custom button element to your main Text+ node. This type of button would let you run an inline attached Lua script which could split your text apart and add new text+ nodes and animated keyframes to the composite for you when clicked.
If you copy a Text+ node from the Fusion Flow/Nodes view into your clipboard and paste that text into a programmers text editor like Notepad++ or BBEdit you can add a custom button control to the nodes GUI using a code chunk like this
- Code: Select all
TextButton = {
LINKS_Name = "Split Multi-Line Text",
LINKID_DataType = "Number",
INPID_InputControl = "ButtonControl",
BTNCS_Execute = [[
-- Add your Lua code here
-- ...
-- ...
]],
ICS_ControlPage = "Controls"
},