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

    How To Use A Dictionary Behavior

    Scheduled Pinned Locked Moved Help and Support
    1 Posts 1 Posters 272 Views 1 Watching
    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 Offline
      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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post