MFK Command: SuppressDriver

Synopsis

Used to prevent a driver added to a car with SetDriver from showing up in a level. This is typically used to stop the player character or characters used in missions from appearing as drivers.

This command is intended to be called in a level's load script (level.mfk).

Syntax

SuppressDriver( <character> );
  • character: The name of the character that should be suppressed for the level.

Examples

// Homer will be supressed for the level so any cars with him will simply be driverless.
SuppressDriver("homer");

Notes

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

Back to top