MFK Command: SetStagePayout

Synopsis

Sets an amount of coins to give the player when they complete the stage.

Syntax

SetStagePayout( <coins> );
  • coins: The amount of coins to give the player upon completing the stage.

Examples

SelectMission("m1");
	...
    
    AddStage();
		// Free 25 coins when you finish this stage.
		SetStagePayout(25);

    	AddObjective("dummy");
        	...
        CloseObjective();
    CloseStage();
CloseMission();

Notes

No additional notes.

History

1.18

  • Added this command.
Back to top