View Single Post
Old 01-24-2020, 06:24 AM   #397
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Look at line 78, which is the line that I don't get.

To me, this looks like you try to get the FXStateChunk in it BUT the earliest is the commented line 80, which would return the FXStateChunk into the variable retval, not the variable FXStateChunk.

That means, whatever you have in the variable FXStateChunk within that loop, it's not a FXStateChunk in the first place.
That's why adding "<TAKEFX\n" is making it somewhat valid. You try to make something, that isn't a FXStateChunk into one by patching it together with that string.

It's like writing Bible on the cover of the telephone-book. It may look like a bible but is still a telephone-book instead.

This is maybe the bug in there, maybe not.

With my testproject, I didn't have anything in FXStateChunk at all, but I could have used the script wrong.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote