Set an amount of coins to give the player when they complete the stage.
Context
This command should be called between calls to AddStage and CloseStage.
Syntax
SetStagePayout( coins );
Game.SetStagePayout( coins )
- coins: The amount of coins to give the player upon completing the stage.
Examples
AddStage();
// Free 25 coins when you finish this stage.
SetStagePayout(25);
AddObjective("dummy");
CloseObjective();
CloseStage();
Game.AddStage()
-- Free 25 coins when you finish this stage.
Game.SetStagePayout(25)
Game.AddObjective("dummy")
Game.CloseObjective()
Game.CloseStage()
Notes
No additional notes.
Version History
1.18
Added this command.