Available since Version 1.18.
Fail the player if the specified event is triggered.
Examples
MFK
Lua
// Event 328 = State Prop Collectible Destroyed (like the nuclear waste in Level 7)
AddCondition("event", 328);
// Specify the total amount of times the event is allowed to be triggered before the player fails. Optional, defaults to 1.
SetCondTotal(1);
CloseCondition();-- Event 328 = State Prop Collectible Destroyed (like the nuclear waste in Level 7)
Game.AddCondition("event", 328)
-- Specify the total amount of times the event is allowed to be triggered before the player fails. Optional, defaults to 1.
Game.SetCondTotal(1)
Game.CloseCondition()Notes
See Events for details on the game's events.