Announcement

Collapse
No announcement yet.

Headbanger!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Headbanger!

    Why does this text pop up every time a Mtd Inf Scout meets its demise at the hands of the Sanusis? Am I overlooking something?

    Code:
    @IF  
    UnitKilled  
    unit=Mtd Inf Scouts  
    attacker=Sanusis  
    defender=Allies  
    @THEN  
    JustOnce :eek:
    Text  
    The Sanusi strike across the Libyan border!  
    EndText  
    @ENDIF
    El Aurens v2 Beta!

  • #2
    The following sequence seems to work fine in Red Front 1.4

    @IF
    CITYTAKEN
    city=Kiev
    attacker=Germans
    defender=Soviets
    @THEN
    TEXT
    The German BlitzKrieg ......................... the Kiev pocket.
    ENDTEXT
    JUSTONCE
    @ENDIF

    The only significant difference seems to be the position of JUSTONCE.
    Excerpts from the Manual of the Civilization Fanatic :

    Money can buy happiness, just raise the luxury rate to 50%.
    Money is not the root of all evil, it is the root of great empires.

    Comment


    • #3
      I think AGRICOLA is likely correct.
      Tecumseh's Village, Home of Fine Civilization Scenarios

      www.tecumseh.150m.com

      Comment


      • #4
        Is JUSTONCE case sensitive?
        'Arguing with anonymous strangers on the internet is a sucker's game because they almost always turn out to be - or to be indistinguishable from - self-righteous sixteen year olds possessing infinite amounts of free time.'
        - Neal Stephenson, Cryptonomicon

        Comment


        • #5
          Originally posted by techumseh
          I think AGRICOLA is likely correct.
          But then, the macro.txt says JustOnce should be the first statement after @THEN.

          Originally posted by Case
          Is JUSTONCE case sensitive?
          Nope. Nothing is AFAIK, except possibly city/unit names etc.
          Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

          Comment


          • #6
            I checked more of the scens that I have played and they all have JUSTONCE immediately before @ENDIF

            The following example corresponds exactly to Boco's and is taken from Kobra's Norwegian Campaign.

            @IF
            UNITKILLED
            unit=Transporter
            attacker=Germans
            defender=Great Britain
            @THEN
            TEXT
            The Polish Liner Chrobry is sunk and with it the only British tanks (3rd Hussars) allocated to the Norwegian Theatre.
            ENDTEXT
            JUSTONCE
            @ENDIF

            Could the macro.txt be in error?
            Excerpts from the Manual of the Civilization Fanatic :

            Money can buy happiness, just raise the luxury rate to 50%.
            Money is not the root of all evil, it is the root of great empires.

            Comment


            • #7
              Thanks, Agricola. Will check as soon as RL slows down a bit. JustOnce works immediately after @THEN with other actions in the same scen, but this is the only sequence that has solely a Text action.
              El Aurens v2 Beta!

              Comment


              • #8
                Off at a tangent:

                I think 'Sanusis' should be spelled 'Sanussis'
                http://sleague.apolyton.net/index.ph...ory:Civ2_Units

                Comment


                • #9
                  I've seen Sanusis, Sanussis, Senussis, and Senusis depending on the book's age and nationality of the author, but I like Google's translation of Italian sites the best: the rebellious ones. No problem to change it to Sanussis.
                  El Aurens v2 Beta!

                  Comment

                  Working...
                  X