Page 1 of 1

Need some help with scripting an outro.

Posted: Mon Jul 22, 2013 6:40 pm
by Ulfsark
Hey guys, I figure this is a pretty simple fix however I cannot seem to figure it out.

What do I need in the script to play an ending other than this code snippet.

function completeGame([outro.lua])

I have messed around a little and have not been able to get it to work, Thank you very much for your help!

Re: Need some help with scripting an outro.

Posted: Mon Jul 22, 2013 7:47 pm
by msyblade
Just a little syntax error, here ya go!


"function ending()"
completeGame ("mod_assets/cinematics/outro.lua")
end


This is assuming you have made an "outro.lua" file and placed it in your cinematics folder.

Re: Need some help with scripting an outro.

Posted: Mon Jul 22, 2013 8:19 pm
by Ulfsark
Awesome, Thank you very much!