Complete Level command, for terminal testing

Discuss map ideas, techniques, and give help.
Post Reply
User avatar
Hopper
Mjolnir Mark IV
Posts: 585
Joined: May 10th '09, 17:02
Contact:

Many folks here are familiar with Lua, and probably know you can check whether a solo level's objectives are completed by using "=Level.calculate_completion_state()" in the Lua console. There's no command to change the completion state, since the engine just checks all the underlying conditions. If you're proofreading terminals in a solo campaign, you might need to play through an entire level every time you want to check a "finished" message.

I wound up writing Lua to satisfy the conditions, and set a level to "finished" without playing it all manually. If this sounds like something you need, check it out.

Complete Level command on Simplici7y
User avatar
Wrkncacnter
Vidmaster
Posts: 1953
Joined: Jan 29th '06, 03:51
Contact:

This sounds really useful for the speedrun leaderboards, thanks.
User avatar
Hopper
Mjolnir Mark IV
Posts: 585
Joined: May 10th '09, 17:02
Contact:

Wrkncacnter wrote:Players[0]:teleport_to_level() sounds really useful for the speedrun leaderboards, thanks.
User avatar
Wrkncacnter
Vidmaster
Posts: 1953
Joined: Jan 29th '06, 03:51
Contact:

While still useful, it's not as useful because it'll be too obvious that the person cheated.
Post Reply