Please create an account or Login! Have fun!

C2G: Difference between revisions

Jump to navigation Jump to search
483 bytes added ,  7 February 2019
no edit summary
No edit summary
No edit summary
Line 164: Line 164:


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.
=== Blocking flags ===
C2G scripting can be used to prevent bonus flags from being picked up. This will apply to the entire set, rather than individual levels.
The following line must be added at the beginning of the file (after the set's name):
<nowiki>no_bonus | flags =</nowiki>
With this flag set, bonus flags become [[acting floor]] to [[Chip]], [[Melinda]], their [[player mirror|mirrors]] and [[rover]]s. It has no impact on other monsters and blocks that would not normally pick up the flags.


=== Editor ===
=== Editor ===
The following line
The following line
  edit
  edit
will open the previous level in the game's built-in editor.
will open the game's built-in editor.


=== Automatic replays ===
=== Automatic replays ===

Navigation menu