hyperPad hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    How To Use A Dictionary Behavior

    Scheduled Pinned Locked Moved
    Help and Support
    1
    1
    51
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SplitMindGamingS
      SplitMindGaming
      last edited by

      I wanted to create this post because I cant find anywhere how to really use a dictionary. Im trying to create an inventory system and I actually know how to set this up with strictly using if behaviors. But upon reading what a dictionary does this seems the route I have to go. Maybe put a future “Create an inventory system” article. Here are my questions in order.

      1. Where do you start? Is it best to create the Dictionary and all its values in the global layer?

      2. How do you assign a dictionary value to a specific object?

      3. How do you properly save and call out this dictionary value.

      Upon reading the Dictionary information it constantly references a helmet to the head. Maybe if someone can create a mini project using dictionary to equip a helmet to a head. That would greatly help even more.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post