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)
Darkfire Offline
Senior Member

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

This is the script.
I want the sepia to happen in the middle of the speech, so I used
PHP Code: (Select All)
SetEffectVoiceOverCallback("ContinueDialogue1"); 
The function ContinueDialogue1 is called, because the next part of the speech
PHP Code: (Select All)
ContinueDialogue(); 
works.
However,
PHP Code: (Select All)
FadeRadialBlurTo(0.05f0.1f);
 
FadeSepiaColorTo(1.0f0.5f); 
Don't work for some reason, even though they're in the same func as
PHP Code: (Select All)
ContinueDialogue(); 
, which works.

To specify, the script doesn't cause a bug, just the visual effects don't kick in.

(This post was last modified: 07-31-2016, 04:56 PM by Darkfire.)
07-31-2016, 04:54 PM
Find


Messages In This Thread
RE: Not all commands work in a function (EffectVoices) - by Darkfire - 07-31-2016, 04:54 PM



Users browsing this thread: 1 Guest(s)