Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    userActions - Resolved -

    XML Options Browser
    4
    4
    1068
    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.
    • Mahks
      Mahks last edited by Mahks

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

      C General_Zod 2 Replies Last reply Reply Quote 0
      • C
        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_Zod
          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-Lowe
            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
            • 1 / 1
            • First post
              Last post
            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums