Noobie question :) Collection Implementations

FlowCanvas Forums Support Noobie question :) Collection Implementations


Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #1935

    Hello everyone! 🙂 And especially the awesome dev.

    So I’ve created my macros, scripts, played with some functions, even figured out how to do a UnityWebRequest coroutine to connect to my PHP webpages. But I’ve got stuck on a few things here and there.

    Right now the most important one is this;
    How do I go about populating a dictionary with a for loop? I just seem to be missing some heavily simple gimmick somewhere… I logged the values I get from (Get List Item) nodes and they are correct but Add Dictionary Item’s Value output always returns null. Both of them. Keys are added but values are null as well.

    In short, I guess I need some minor tutorial about manipulating collection variables 🙂

    thanks in advance

    You must be logged in to view attached files.

    Ok solved my own problem by creating a custom node 🙂
    node code included below;

    Encryption code (required for my own secure connection, feel free to not-use it 🙂

    You must be logged in to view attached files.

    Hello and welcome.
    Thank you as well! 🙂

    After further digging into this, I realized that there is indeed a bug here, that results in the AddDictionaryItem node (as well as other similar nodes) to return a NULL. I am investigating this bug right now and hope to fix it as soon as possible and send it on an asset store update.
    If the fix is relevantly easy, I will also let you know here of the required changes to make in the source as well, so that you don’t have to wait for the new version to go live!

    Thank you!

    Join us on Discord:

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