Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Not all commands work in a function (EffectVoices)
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#11
RE: Not all commands work in a function (EffectVoices)

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.

(This post was last modified: 07-31-2016, 08:00 PM by Mudbill.)
07-31-2016, 07:49 PM
Find
Darkfire Offline
Senior Member

Posts: 371
Threads: 22
Joined: May 2014
Reputation: 15
#12
RE: Not all commands work in a function (EffectVoices)

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.

(This post was last modified: 08-01-2016, 02:59 PM by Darkfire.)
08-01-2016, 12:48 PM
Find




Users browsing this thread: 1 Guest(s)