userActions - Resolved -



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


  • Moderators

    @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.


  • Moderators

    @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



  • @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.


Log in to reply