Sets the number of cars that will spawn during a Hit & Run.
Scope
This command should be called in a level's initialisation script.
Syntax
MFK
Lua
SetNumChaseCars( number_of_cars );Game.SetNumChaseCars( number_of_cars )- number_of_cars: The number of chase cars to spawn.
- Can be set anywhere from 0 to 5.
Examples
MFK
Lua
// Example from Radical's scripts/missions/level01/leveli.mfk
SetNumChaseCars("1");-- Example from Radical's scripts/missions/level01/leveli.mfk
Game.SetNumChaseCars(1)