Need some help with scripting an outro.

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
Ulfsark
Posts: 18
Joined: Sun May 05, 2013 5:52 pm

Need some help with scripting an outro.

Post 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!
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: Need some help with scripting an outro.

Post 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.
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
Ulfsark
Posts: 18
Joined: Sun May 05, 2013 5:52 pm

Re: Need some help with scripting an outro.

Post by Ulfsark »

Awesome, Thank you very much!
Post Reply