Available since Version 1.27.
Sets the slam force for a stage.
Scope
This command should be called between calls to AddStage and CloseStage in a mission's initialisation script.
Syntax
MFK
Lua
SetStageSlamForce( slam_force );Game.SetStageSlamForce( slam_force )- slam_force: The amount of force the player's slams should instill upon their victims for the stage.
- The default force is 800.0.
- Negative values are supported.
Examples
MFK
Lua
AddStage();
// Make the player able to send NPCs to the shadow realm for this stage
SetStageSlamForce(8000.0);
AddObjective("dummy");
CloseObjectve();
CloseStage();Game.AddStage()
-- Make the player able to send NPCs to the shadow realm for this stage
Game.SetStageSlamForce(8000.0);
Game.AddObjective("dummy")
Game.CloseObjectve()
Game.CloseStage()