Jump to content

Fade To Black ISM Works! But Fade-In not working?


Recommended Posts

I'm running some dialog and for part of it I want to fade to black, wait 2 seconds than fade in to normal.

 

I'm using:

 

Function StartFade()
FadeToBlackHoldImodISM.ApplyCrossFade(2)
EndFunction
Function EndFade()
Utility.Wait(2)
FadeToBlackHoldImodISM.Remove()
EndFunction

This works fine, but the switch back to normal is abrupt. I would like to change it so that it FadesIn over 2 seconds.

 

I thought I could use FadeToBlackHoldImodISM.RemoveCrossFade(2)

 

This would be perfect, and I'd be done if that worked. But it doesn't work. Instead I get an error:

 

 

"cannot call the global function RemoveCrossFade on the variable ::FadeToBlackHoldImodISM_var, must call it alone or on a type"
Any ideas why ApplyCrossFade works but RemoveCrossFade does not? Or if there is another ISM to use to fade in from black to normal?
Thanks!
Link to comment
Share on other sites

Function StartFade()
FadeToBlackHoldImodISM.ApplyCrossFade(2)
EndFunction
Function EndFade()
Utility.Wait(2)
ImageSpaceModifier.RemoveCrossFade(2.0)
EndFunction

 

 

"cannot call the global function RemoveCrossFade on the variable ::FadeToBlackHoldImodISM_var, must call it alone or on a type"
FadeToBlackHoldImodISM.Remove()
TO
ImageSpaceModifier.RemoveCrossFade(2.0)
Edited by maxarturo
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...