Author Topic: Value connect with string data type  (Read 9383 times)

Offline swordfeather

  • PLUS+1 Developer
  • ***
  • Posts: 14
  • Karma: +1/-0
Value connect with string data type
« on: December 25, 2021, 04:25:00 PM »
Hi,

I was trying to make an alarm block pushing some text to the screen on an input trigger.
The trigger and alarmtext are both inputs.

Now I notice that the value connect block is not possible to use with STRING data type. Using the switch function to put in the new value is not an option.
This gives me the "outputs connected on component" error which you don't have using value connect.

Somebody did this before or knows how to work around this problem?

Greetings,

Swordfeather
« Last Edit: December 25, 2021, 09:51:47 PM by swordfeather »

Offline SJ Industries

  • PLUS+1 Expert
  • ****
  • Posts: 60
  • Karma: +2/-0
Re: Value connect with string data type
« Reply #1 on: December 26, 2021, 10:47:10 PM »
Use a text list in the screen editor and use the value connect to change the list var number.

Offline swordfeather

  • PLUS+1 Developer
  • ***
  • Posts: 14
  • Karma: +1/-0
Re: Value connect with string data type
« Reply #2 on: January 02, 2022, 03:14:16 PM »
Mind blown. :D

thx