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

    combatMove & nonCombatMove steps - Resolved -

    Scheduled Pinned Locked Moved XML Options Browser
    5 Posts 2 Posters 2.2k 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.
    • MahksM Offline
      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?

      wc_sumptonW 1 Reply Last reply Reply Quote 0
      • wc_sumptonW Online
        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
        • MahksM Offline
          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?

          wc_sumptonW 1 Reply Last reply Reply Quote 0
          • wc_sumptonW Online
            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
            • MahksM Offline
              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

              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