Noobie question :) Collection Implementations

FlowCanvas Forums Support Noobie question :) Collection Implementations

Tagged: 

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

    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

    Attachments:
    You must be logged in to view attached files.
    #1938
    flamacore
    Participant

    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 🙂

    Attachments:
    You must be logged in to view attached files.
    #1944
    Gavalakis
    Keymaster

    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: https://discord.gg/97q2Rjh

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