Games > The Simpsons Hit & Run > Console File Commands > MFK Commands > Levels > SuppressDriver

SuppressDriver

This command prevents a character from appearing in vehicles owned by the player (the default level car or those summoned from the phonebooth) in a level.

Context

This command should be called in a level's load script (level.mfk).

Syntax

SuppressDriver( character );

Game.SuppressDriver( character )

  • character: The name of the character who will be unavailable as a driver in the level.

Examples

// Used in Level 1 to prevent Homer appearing in his cars since he's the player character
SuppressDriver("homer");

-- Used in Level 1 to prevent Homer appearing in his cars since he's the player character
Game.SuppressDriver("homer")

Notes

There is a limit of 32 suppressed drivers in a level.

Donut Team © 2023 · v4.0