TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Chain a notification off of a User Action

    Scheduled Pinned Locked Moved Map Making
    3 Posts 2 Posters 1.3k Views 2 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.
    • Michael HooverM Offline
      Michael Hoover
      last edited by

      So we can tie sounds to notifications as @Frostion lays out in this thread,
      which has me wondering, can we also tie user actions to notifications?

      What I am thinking is having a user action where if they choose to perform the action by clicking the button, I'd like to immediately throw up a notification. I'm 99% sure I can do this through trigger management, but the essence of the topic is whether or not we can fire it directly from the actionstext.properties file e.g.:

      EXPLORE_CAVE.NOTIFICATION_SUCCESS=notification_spelunking
      

      The notification_spelunking being a key in the notifications.properties file which prompts a different dialog box.

      I suppose I should just try it and see (and I likely will) but if anyone happens to know offhand you could save me some time 🙂

      Map Maker of: Twelve Clans and Labyrinth

      C 1 Reply Last reply Reply Quote 1
      • C Online
        Cernel Moderators @Michael Hoover
        last edited by

        @Michael-Hoover I've never tried it, but, as far as I know, user actions can activate whatever triggers, also multiple per action, thus I assume you can activate notifications too (being a type of trigger). The question, however, is how that would mix with the fact that the user action notifies the outcome of itself, at about the same moment. I suppose that would cause redundancy, so I assume you are not supposed to use notifications with user actions (since you already have items called "notification" within the "actionstext" properties).

        1 Reply Last reply Reply Quote 0
        • Michael HooverM Offline
          Michael Hoover
          last edited by

          @Cernel Along that line of thought, perhaps a better way of phrasing what I was trying to say is this:
          Rather than the outcome of the user action being notified of itself, could we substitute (or just reference) something from the notifications file?

          I'm confident I can do this because the userActionAttachment has the activateTrigger option and the triggerAttachment has the notification option. This method will work, I was just hoping for a shortcut 🙂

          Map Maker of: Twelve Clans and Labyrinth

          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
          • 1 / 1
          • First post
            Last post
          Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums