Set a threshold for the insidetrigger / outsidetrigger conditions.
SetCondThreshold( threshold );
Game.SetCondThreshold( threshold )
- threshold: The amount of time the player must be inside or outside the trigger to fail the condition.
- Defaults to 0.
AddCondition("insidetrigger"); SetCondTrigger("z2phone1"); // Fail the player if they're inside the trigger for 10 seconds. SetCondThreshold(10); CloseCondition();
Game.AddCondition("insidetrigger") Game.SetCondTrigger("z2phone1") -- Fail the player if they're inside the trigger for 10 seconds. Game.SetCondThreshold(10) Game.CloseCondition()
No additional notes.
Added this command.