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

    Attribute default value not loading at game start

    Scheduled Pinned Locked Moved Help and Support
    2 Posts 2 Posters 31 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.
    • MrAeon1111M Offline
      MrAeon1111
      last edited by

      Hello,
      I have an attribute “EmitterPosition” (Shoot emitter position) on an object (character) with a value set by default.
      When the game starts this value is not taken in consideration.
      When I do later a set attribute the set attribute works perfectly.

      I tried to put a timer on get attribute “EmitterPosition” I tried a few things but nothing seems to work.

      Do you have any idea, how to fix this problem?

      RobinsonXR 1 Reply Last reply Reply Quote 1
      • RobinsonXR Offline
        RobinsonX @MrAeon1111
        last edited by

        @MrAeon1111 Hello, can you share a screenshot of your behavior logic? One potential thing that could be happening here is that the order in which your behaviors are executed is wrong.

        For example, you could be triggering the Set Attribute behavior before running the behaviors responsible for outputting the values used in the behavior - this would explain why triggering the Set Attribute behavior later would fix it, since now it's using the updated output.

        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