It is possible to play a video just after loading a game?
I want to play a video summary just after the <<Continue>> option of the mainscreen. This option loads the last saved slot and shows something like <<Previously...>> and depending on the situation of the game a video is played. After this video the game continues normally.
It is possible to take the control after loading a game?
Thanks.
Yes. Find the on_event() function in your GlobalScript, and add a condition:
function on_event(EventType event, int data)
{
// ... other stuff?
if(event == eEventRestoreGame)
{
// TODO: Play video
}
}
Great!!
Thanks, it works perfect!!