Available since Version 1.18.
Fail the player if they get caught in a Hit & Run.
Examples
MFK
Lua
AddCondition("hitandruncaught");
// Optional: Specify a delay for the mission failed screen. Defaults to 2 seconds.
// This is to allow enough time for the Hit & Run ticket to
// disappear before showing the mission failed screen.
SetCondDelay(2);
CloseCondition();Game.AddCondition("hitandruncaught")
-- Optional: Specify a delay for the mission failed screen. Defaults to 2 seconds.
-- This is to allow enough time for the Hit & Run ticket to
-- disappear before showing the mission failed screen.
Game.SetCondDelay(2)
Game.CloseCondition()