Frictional Games Forum (read-only)
[SCRIPT] Not all commands work in a function (EffectVoices) - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] Not all commands work in a function (EffectVoices) (/thread-51867.html)

Pages: 1 2


RE: Not all commands work in a function (EffectVoices) - Mudbill - 07-31-2016

My bad, I guess I somehow missed the scroll bar on your first script, so I never saw those at the bottom. That would make things confusing for you. Sorry.

I see now the issue. It is a bit strange. Perhaps it has to do with you adding another voice right after but I'm not sure.
Perhaps it would act differently if you made ContinueDialogue() into a timer of 0.1f instead. That would at least properly separate it from the sequence.


RE: Not all commands work in a function (EffectVoices) - Darkfire - 08-01-2016

It's ok. So it's up to timers now Big Grin

EDIT: Issue fixed. Apparently the command turning off the visual fx was called immediately, even though it should be called after the voice effect is over. Moved it somewhere else and it works.