Set a threshold for the insidetrigger / outsidetrigger objectives.
SetCondThreshold( threshold );
Game.SetCondThreshold( threshold )
- threshold: The amount of time the player must be inside or outside the trigger to pass the objective.
- Defaults to 0.
AddObjective("insidetrigger"); SetObjTrigger("z2phone1"); // Require the player to be inside that trigger for 10 seconds to pass. SetObjThreshold(10); CloseObjective();
Game.AddObjective("insidetrigger") Game.SetObjTrigger("z2phone1") -- Require the player to be inside that trigger for 10 seconds to pass. Game.SetObjThreshold(10) Game.CloseObjective()
No additional notes.
Added this command.