Why can't a custom event's string be bound to a Blackboard property?

FlowCanvas Forums Support Why can't a custom event's string be bound to a Blackboard property?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1132
    xelnath
    Participant

    I would like to create a generic “SpawnWave” module… and be able to specify what string will be used to fire off the spawning of that module!

    However, it appears FlowScript will only accept a hard-coded string for the event, rather than be able to use one defined for the graph via Variable.

    Has no one needed this or is it a bad practice?

    #1140
    Gavalakis
    Keymaster

    Hello,

    The event name could be made to be able to have a variable link, but unfortunately right now it’s not 🙂
    An alternative way of doing what you need as far as I understand, would be to use the SwitchString node, something like this:
    SwitchString

    Let me know if that works for you.
    Thanks.

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

    Attachments:
    You must be logged in to view attached files.
    #1195
    chocolacode
    Participant

    Hey Gavalakis,

    Is this function now available?

    Thanks!

    #1202
    chocolacode
    Participant

    Hi Gavalakis,

    do you have any comment on this?

    Thanks!! 🙂

    #1203
    Gavalakis
    Keymaster

    Hey,
    Sorry for the late reply.
    Are you referring to having the ability to set the string from a Blackboard variable?
    If so, that is not yet added, because changing the serialized variable now (from string to BBParameter) will break previous projects.
    Thus I will need to create a provide a ‘version 2’ of those nodes (CustomEvent) and deprecate the old ones, which is something to do in the roadmap.
    Let me know if that is indeed what you asked 🙂
    Thanks!

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

    #1204
    chocolacode
    Participant

    Hey,

    No worries! 🙂

    That’s exactly what I am
    Looking for

    Thanks

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