Fail the player if they get a Hit & Run.
Examples
AddCondition("hitandrun");
// Optional: Specify a delay for the mission failed screen. Defaults to 2 seconds.
// This is to allow enough time for the Hit & Run text to
// disappear before showing the mission failed screen.
SetCondDelay(2);
CloseCondition();
Game.AddCondition("hitandrun")
-- Optional: Specify a delay for the mission failed screen. Defaults to 2 seconds.
-- This is to allow enough time for the Hit & Run text to
-- disappear before showing the mission failed screen.
Game.SetCondDelay(2)
Game.CloseCondition()
Notes
No additional notes.
Version History
1.18
Added this condition type.