BBParameter list element can be choosen

NodeCanvas Forums Support BBParameter list element can be choosen

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9503

    Hello:

    I am new in NodeCanvas and come from Playmaker for the great BT flow control.

    I encountered 2 questions when making new task:
    1. I cannot find an attribute for BBParameter that let string field come to textField for a long text edit like PlayMaker UIHint.TextArea?
    2. The string element of BBParameter<List<string>>, is it able to be choosen from blackBoard variables like BBParameter<string>?
    In Playmaker, FsmString[] can fulfill this. I tried BBParameter<List<BBParameter<string>>> but doesn’t work either.

    Thank you

    #9507

    After reading documentation I fund textAreaFiled() attribute.

    #9506
    Gavalakis
    Keymaster

    Hello,

    Yes, the [TextAreaField] is what you are looking after 🙂

    Regarding lists:

    If you use BBParameter<List> for example, you will be able to select a ‘List’ variable from the Blackboard, yes, but not for each ‘string’ element of the list seperately.

    If you want a List of string, where each string element can be set from a Blackboard variable, then I can take a look at correctly using: List<BBParameter>.

    Is that what you are after?

    Thanks

    Join us on Discord: https://discord.gg/97q2Rjh

    #9505

    Hello:

    My usage like this (sql):
    “select material from dish where dishName = ?”
    “select xxx from yyy where aaa = ? and bbb = ? and ccc = ?”
    Such like this. The num of “?” is arbitrary. And the content of “?” is stored in variables.

    My ActionTask sqlQuery have a stringField(for sql) and list<string>Filed(for “?”s). So strings in list should be pointed by variables which are in blackBoard.

    I’m really appreciate if can do me a favor and tell me a correctly using.

    Thank you

    #9504
    Gavalakis
    Keymaster

    Hey,

    Can you please provide a code example of what you mean and how it’s done in Playmaker FSMString[] so that I understand better and provide a valid answer?

    If you want to have a List where each string can be linked to a Blackboard variable, that is not possible right now, but I can add this in the future version.
    On the other hand, if you want, you can link a whole List to a Blackboard variables instead of each of it’s elements seperately, but I am not sure if that’s what you are after.

    Let me know.
    Thanks

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.