C2G: Difference between revisions

280 bytes added ,  5 August 2019
no edit summary
No edit summary
No edit summary
Line 161: Line 161:


If there are several players in the level, the gender of the last one to finish the level will be the one used by the C2G script. If an invalid label is called, or no line is specified for a specific gender, the game will continue to work through the C2G file as it would normally.
If there are several players in the level, the gender of the last one to finish the level will be the one used by the C2G script. If an invalid label is called, or no line is specified for a specific gender, the game will continue to work through the C2G file as it would normally.
=== Goto ===
Goto can also be used in absence of a gender or exit check. For example:
<nowiki>map "NormalProgression.c2m"
#loop
map "DejaVu.c2m"
map "StuckInALoop.c2m"
goto #loop</nowiki>
In the example above, completing StuckInALoop.c2m will always take you back by one level.


=== Fake level numbers ===
=== Fake level numbers ===
trusted-editors
331

edits