The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
User:Crusha/UltimateMappingTools/LogicGate
LogicGate
by Crusha K. Rool
The abstract base class of all logic gates. The only purpose of this class is to group the subclasses.
LogicGates work the same way like their real life pendants: A TriggerEvent is considered "True", an UnTriggerEvent "False". The output depends on the gate as described in the following actors.
The subclasses have different functionalities.
LogicalNOT
by Crusha K. Rool
Toggles the boolean value of an incoming Event and forwards it. If the Event was an Untrigger-Event, then it will become a Trigger-Event and the other way around.
Property group 'Events'
Tag
Type: name
Triggering this actor will cause it to untrigger the Event entered in the field below. Untriggering it will cause it to trigger the Event respectively.
Event
Type: name
The output Event that will be triggered.
LogicalOR
by Crusha K. Rool
Triggers an Event if AT LEAST ONE condition is True. Untriggers it, if an Event had been triggered and both conditions became False again.
Property group 'Events'
Tag
Type: name
Triggering the Event with this name will toggle the first condition True. UnTriggering it will toggle the condition False.
SecondTag
Type: name
Triggering the Event with this name will toggle the second condition True. UnTriggering it will toggle the condition False.
Event
Type: name
The output Event that will be triggered.
LogicalAND
by Crusha K. Rool
Triggers an Event if BOTH conditions are True. Untriggers it, if an Event had been triggered and one condition became False again.
Property group 'Events'
Tag
Type: name
Triggering the Event with this name will toggle the first condition True. UnTriggering it will toggle the condition False.
SecondTag
Type: name
Triggering the Event with this name will toggle the second condition True. UnTriggering it will toggle the condition False.
Event
Type: name
The output Event that will be triggered.
LogicalNOR
by Crusha K. Rool
Does exactly the opposite of the Logical OR. That means that it triggers an Event if NONE of the conditions is True and untriggers the Event if one or both conditions are True.
Property group 'Events'
Tag
Type: name
Triggering the Event with this name will toggle the first condition True. UnTriggering it will toggle the condition False.
SecondTag
Type: name
Triggering the Event with this name will toggle the second condition True. UnTriggering it will toggle the condition False.
Event
Type: name
The output Event that will be triggered.
LogicalNAND
by Crusha K. Rool
Object >> Actor >> Triggers >> EventGate >> LogicGate >> LogicalAND >> LogicalNAND (custom) |
Does exactly the opposite of the LogicalAND. That means that it triggers an Event if ONLY ONE OR NONE of the conditions is True and untriggers the Event if both conditions are True.
Property group 'Events'
Tag
Type: name
Triggering the Event with this name will toggle the first condition True. UnTriggering it will toggle the condition False.
SecondTag
Type: name
Triggering the Event with this name will toggle the second condition True. UnTriggering it will toggle the condition False.
Event
Type: name
The output Event that will be triggered.
LogicalXOR
by Crusha K. Rool
Triggers an Event if EXACTLY ONE OF TWO conditions is True. Untriggers it, if an Event had been triggered and both conditions became False or True.
Property group 'Events'
Tag
Type: name
Triggering the Event with this name will toggle the first condition True. UnTriggering it will toggle the condition False.
SecondTag
Type: name
Triggering the Event with this name will toggle the second condition True. UnTriggering it will toggle the condition False.
Event
Type: name
The output Event that will be triggered.