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

    I can’t quite get this simple code snippet to work...

    Scheduled Pinned Locked Moved Help and Support
    1 Posts 1 Posters 223 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.
    • T Offline
      Thecheater887
      last edited by Thecheater887

      So, let me explain this image.

      MoveTo (Loop) goes through a populated tag on objects.
      GetID and GetGroup (Get Attribute) collect data from the selected object.
      The two Ifs verify that the selected object’s data matches a successfully selected object from the same tag previously.
      If the verification succeeds, the Loop collects a parcel of data from the host object, and the host object is instructed to move to the selected object at (data) speed.

      Problem? The object never moves.

      I’m attempting to identify the issue, but nothing I’ve tried thus far seems to help.

      The Code

      Update: the issue lies within Move To Object, it appears the Loop does not retain the selected item if the tag in the Loop is not accessed in every consequent behavior without breaking the chain.

      1 Reply Last reply Reply Quote 1

      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