This command sets the current traffic group when resuming a stage from a checkpoint.
Context
This command should be called between calls to AddStage and CloseStage.
Additionally, this should be called alongside CHECKPOINT_HERE.
Syntax
SetCheckpointTrafficGroup( traffic_group );
Game.SetCheckpointTrafficGroup( traffic_group )
- traffic_group: The index of the traffic group to use.
Examples
AddStage();
CHECKPOINT_HERE();
SetCheckpointTrafficGroup(7);
AddObjective("dummy");
CloseObjective();
CloseStage();
Game.AddStage()
Game.CHECKPOINT_HERE()
Game.SetCheckpointTrafficGroup(7)
Game.AddObjective("dummy")
Game.CloseObjective()
Game.CloseStage()
Notes
This requires the DynamicTraffic
feature of Custom Traffic Support to be enabled as well as actually defining multiple traffic groups to have any noticeable effect.
Version History
1.25
Added this command.