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

    userActions - Resolved -

    Scheduled Pinned Locked Moved XML Options Browser
    4 Posts 4 Posters 2.3k Views 4 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.
    • MahksM Offline
      Mahks
      last edited by Mahks

      I can find no definition of what userActions & UserActionDelegate are used for

      C General_ZodG 2 Replies Last reply Reply Quote 0
      • C Offline
        Cernel Moderators @Mahks
        last edited by

        @mahks They are used to use what in pos2 is described right after "User Action Attachments", as long as the step is assigned to the same player attached to the user action, then, if the conditions for the user action are met, you will get that user action (all of them), you can click.
        User actions work very similarly to political actions.

        1 Reply Last reply Reply Quote 1
        • General_ZodG Offline
          General_Zod Moderators @Mahks
          last edited by

          @mahks

          Simple explanation is that userAction provides the player with a user interface with selections in the form of a separate popup screen and buttons, . The buttons can be used for any logic the mapmaker wants, as long as it is viable with the existing conditions and triggers. This allows the player to make more decisions and provide a real input which interacts (via buttons) with the mapmakers programmed logic.

          Example a technology selection:

          0_1524968246641_bw3_technolgy_UA_001.PNG

          1 Reply Last reply Reply Quote 1
          • Jason Green-LoweJ Offline
            Jason Green-Lowe
            last edited by

            @General_Zod Could you please provide the code for the example with the nice image on this thread? I'd like to make my own dialog boxes with userActions, but I'm not sure how, and the pact of steel userAction doesn't seem to include one.

            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