Announcement

Collapse
No announcement yet.

Question about Feats

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

  • Question about Feats

    Does the feats of building (The ones trigered when building enough improvements) happens to every player or just for the first player that achived its conditions?

    Thanks in advance
    "Kill a man and you are a murder.
    Kill thousands and you are a conquer.
    Kill all and you are a God!"
    -Jean Rostand

  • #2
    Just the first player to do it, like all the other feats.
    Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
    CtP2 AE Wiki & Modding Reference
    One way to compile the CtP2 Source Code.

    Comment


    • #3
      Thanks.
      "Kill a man and you are a murder.
      Kill thousands and you are a conquer.
      Kill all and you are a God!"
      -Jean Rostand

      Comment


      • #4
        Another Question:

        Is there any Feat has been Triggered slic event?
        "Kill a man and you are a murder.
        Kill thousands and you are a conquer.
        Kill all and you are a God!"
        -Jean Rostand

        Comment


        • #5
          Originally posted by Pedrunn
          Another Question:

          Is there any Feat has been Triggered slic event?
          Yes actual there are two possibilities, from the documentaion available here at Apolyton there is the AcomplishFeat Event:

          AccomplishFeat(int_t, int_t)
          Someone has accomplished a feat (int = feat DB index)

          And there is the AddFeat function:

          VOID AddFeat(featIndex, playerIndex)
          ?Achieves? the feat for player. See //default/gamedata/feats.txt.

          The result of both ways to give a feat to the player is the same, it looks so far that it is only possible to give a feat once.

          -Martin
          Civ2 military advisor: "No complaints, Sir!"

          Comment

          Working...
          X