Navigation

    TripleA Logo

    TripleA Forum

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

    combatMove & nonCombatMove steps - Resolved -

    XML Options Browser
    2
    5
    1395
    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

      There are stepProperties for these steps that seems redundant.

      • combatMove
      • nonCombatMove

      Are these remnants of a time before there was a separate NonCombatMove delegate?

      W 1 Reply Last reply Reply Quote 0
      • W
        wc_sumpton @Mahks last edited by

        @mahks
        As far as I know, there are only two movement delegates:
        MoveDelegate and SpecialMoveDelegate

        How the delegates are used is determined by their name:
        xxxCombatMove and xxxNonCombatMove are the common names used with the MoveDelegate but the names can be xxxPreBattleMove and xxxAfterBattleMove and the step combatMove and nonCombatMove can be used to determine which type of movement is preformed.
        Also a game might only use 1 movement phase in which case there are other step properties like fireRockets, resetUnitStateAtStart, removeAirThatCanNotLand (can also be used with the PlaceDelegate), etc...

        Cheers...

        1 Reply Last reply Reply Quote 1
        • Mahks
          Mahks last edited by Mahks

          Ah, thanks.

          What was throwing me off was the POS2 comment:

          "It is very important that the "name" ends with the correct phrase, or else the game will not work properly.
          Please end with ("xx" = faction name): xxBid, xxBidPlace, xxTech, xxPurchase, xxCombatMove, xxBattle, xxNonCombatMove, xxPlace, xxTechActivation, xxEndTurn, xxPolitics, xxUserActions"

          From your answer, it seems that "...important that the 'name' ends with the correct phrase" is incorrect?

          W 1 Reply Last reply Reply Quote 0
          • W
            wc_sumpton @Mahks last edited by wc_sumpton

            @mahks
            Sorry, my comments above are incorrect. If the "name" is incorrect even with the stepProperty the game will error out. So 'xxxPreBattleMove' will not work even with a stepProperty of 'combatMove'.

            It also seems that the 'SpecialMoveDelegate' must also end with 'CombatMove' and 'NonCombatMove'. So it does seem as if some of the stepProperties are redundant.

            Again sorry for the bad information.

            Cheers...

            1 Reply Last reply Reply Quote 0
            • Mahks
              Mahks last edited by

              1. Can a developer confirm these are not of use anymore?

              2. Are they still required for older maps?

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums