Announcement

Collapse
No announcement yet.

player and g.player difference ?

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

  • player and g.player difference ?

    In fact I don't understand the difference between g.player and player.

    Could you explain it for me ?
    Apolyton QuickStart for CTP PBEM

  • #2
    g.player is the current player in the game, the player who's turn it is. Player, short for player.1 is the first player in the context. If someone is attacked for instance, player.1 and player.2 are the attacking and attacked player (not sure which is which). *Usually* player.1 and g.player refer to the same player, but not always. This is probably why you got confused in the first place.

    Hope this helps,

    Locutus
    Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

    Comment


    • #3
      Thanks a lot !!!
      So I must use g.player
      Apolyton QuickStart for CTP PBEM

      Comment

      Working...
      X