Logic relay queue: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Warning:
		
	
m (Updated deprecated template)  | 
				m (add to this is a)  | 
				||
| Line 1: | Line 1: | ||
{{this is a|name=logic_relay_queue|sprite=1|e0|game=mapbase}} It is a variant of {{ent|logic_relay}} which allows blocked <code>Trigger</code> inputs to "queue" when waiting for the relay to re-enable, or when waiting for the relay's delayed outputs to finish firing. When the relay is ready to refire, the queued <code>Trigger</code> inputs will fire automatically  | {{this is a|name=logic_relay_queue|sprite=1|e0|game=mapbase|game1=P2CE}} It is a variant of {{ent|logic_relay}} which allows blocked <code>Trigger</code> inputs to "queue" when waiting for the relay to re-enable, or when waiting for the relay's delayed outputs to finish firing. When the relay is ready to refire, the queued <code>Trigger</code> inputs will fire automatically.  | ||
==Keyvalues==  | ==Keyvalues==  | ||
Revision as of 11:26, 8 March 2024

logic_relay_queue  is an   e0  available in 
 Mapbase and 
 Portal 2: Community Edition.
- The 
{{{game1}}}parameter is inconsistent with the name defined by the {{P2CE}} template. This can most likely be fixed by setting the value of the{{{game1}}}parameter toPortal 2: Community Edition.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page. 
 It is a variant of logic_relay which allows blocked Trigger inputs to "queue" when waiting for the relay to re-enable, or when waiting for the relay's delayed outputs to finish firing. When the relay is ready to refire, the queued Trigger inputs will fire automatically.
Keyvalues
- Maximum Items (SetMaxQueueItems) <integer>
 - The maximum number of 
TriggerandTriggerWithParameterinputs allowed in the queue. Any others received while this value is full will be discarded. This does not count the I/O chain currently being handled. 
- Don't queue when disabled (DontQueueWhenDisabled) <boolean>
 - Prevents the relay from queuing inputs when disabled. This means inputs will only be queued when the relay is enabled and still handling its current I/O connections.
 
- Start Disabled (StartDisabled) <boolean>
 - Stay dormant until activated (with the
Enableinput). 
Inputs
- Trigger
 - Trigger the relay, causing its OnTrigger output to fire if it is enabled.
 
- EnableRefire
 - Automatically fired on a relay after any delayed outputs finish firing, allowing it to fire again.
 
- TriggerWithParameter <string>
 - Triggers the relay with a parameter, causing its OnTriggerParameter output to fire if it is enabled.
 
EnableDisable:
- Enable / Disable
 - Enable/disable this entity from performing its task. It might also disappear from view.
 
Toggle:
- Toggle
 - Toggle the enabled/disabled status of this entity.
 
Outputs
- OnTrigger
 - Fired when the relay is triggered. If the relay is set to only trigger once, it will delete itself after firing this output.
 
- OnTriggerParameter <string>
 - Fired when the relay is triggered with a parameter. If the relay is set to only trigger once, it will delete itself after firing this output.