scp-fs2open/fs2open.github.com — pull request #21 by niffiwan (2014-04-28 02:41:00+00:00)
Title: LUA access to campaign next & prev mission (requested by Axem)

This is pretty simple, two new LUA functions in a new library to provide access to the next/prev campaign mission filenames. Associated with the Journal/System Viewer.

These will return valid values in more states than mn.getMissionFilename() (in fact the only times it won't work are when there's no campaigns available at all, of if the campaign has ended)