@Override
	public void valueUpdated(Setting s, Value v) {
		if (s.getName().equals(EndTrigger)) {
			try {
				boolean b = v.getBoolean();
				if (b && endTrigger_ == null) {
					endTrigger_ = addOutput("End trigger", ValueType.VOID);
				} else if (!b && endTrigger_ != null) {
					removeOutput(endTrigger_);
					endTrigger_ = null;
				}
			} catch (Exception e) {
				e.printStackTrace();
			}
		} else
			super.valueUpdated(s, v);
	}