I used to slightly work with Scaleform in CryEngine while helping a friend but that was a very long time ago. I stopped now and I could not remember how to do it.