Results 1 to 2 of 2

Thread: Garrison Script Question

  1. #1

    Default Garrison Script Question

    Do garrison scripts only work in relation to the human player? I would like to set up some garrison scripts to protect some of my weaker AI factions from the stronger AI factions. For instance, Macedon is always getting destroyed by the AI Greek Cities early in the game so I would like to use a garrison script for the Macedonian Capital so that it might last longer. Is this possible?

    The piece of code in garrison scripts that has me in doubt is "I_CharacterTypeNearTile." The I part of I_CharacterType would lead me to believe that this only works in relation to the human player. Perhaps someone has figured out a way around this to make it work between AI factions?
    Respectfully,

    Hoginator01

  2. #2
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: Garrison Script Question

    I believe I_ stands for "Identifier" and doesn't relate to the player.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO