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

    Step Name

    Scheduled Pinned Locked Moved Map Making
    step
    1 Posts 1 Posters 286 Views 1 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.
    • RogerCooperR Offline
      RogerCooper
      last edited by

      In order to use a ForEach loop I renamed steps from

            <step name="russianTech" delegate="tech" player="Russians"/>
            <step name="russianPurchase" delegate="purchase" player="Russians"/>
            <step name="russianCombatMove" delegate="move" player="Russians"/>
            <step name="russianBattle" delegate="battle" player="Russians"/>
            <step name="russianNonCombatMove" delegate="move" player="Russians" display="Non Combat Move"/>
            <step name="russianPlace" delegate="place" player="Russians"/>
            <step name="russianTechActivation" delegate="tech_activation" player="Russians"/>
            <step name="russianEndTurn" delegate="endTurn" player="Russians"/>
      
      

      to

            <step name="RussiansTech" delegate="tech" player="Russians"/>
            <step name="RussiansPurchase" delegate="purchase" player="Russians"/>
            <step name="RussiansCombatMove" delegate="move" player="Russians"/>
            <step name="RussiansBattle" delegate="battle" player="Russians"/>
            <step name="RussiansNonCombatMove" delegate="move" player="Russians" display="Non Combat Move"/>
            <step name="RussiansPlace" delegate="place" player="Russians"/>
            <step name="RussiansTechActivation" delegate="tech_activation" player="Russians"/>
            <step name="RussiansEndTurn" delegate="endTurn" player="Russians"/>
      
      

      I now receive the error "The content of element type "sequence must match "(step)+". I don't really understand this as "Russians" matches the player while "russian" did not match. Can anyone explain what is going on?

      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