Results 1 to 5 of 5

Thread: Script events for AI only

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Script events for AI only

    Is it possible to script events that happen only if the player is not controlling that faction?

    For example say I wanted to script an invasion of Ireland by the Normans at a particular time or random incursions of Norwegians but only if the Normans/Norwegians were not being controlled by the player (otherwise I'd be giving them free stacks).

    I don't mind if Ireland were also not being controlled by the player...all I'm concerned about is not giving free stacks to the player if they are controlling that faction.

  2. #2
    alpaca's Avatar Harbinger of saliva
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    4,811

    Default Re: Script events for AI only

    Yeah you have to utilize the I_FactionIsLocal and FactionIsLocal conditions.

    No thing is everything. Every thing is nothing.

  3. #3

    Default Re: Script events for AI only

    Is there a file that lists all the scripting commands and their function?

  4. #4
    Socal_infidel's Avatar PDER Piper
    Join Date
    Jan 2007
    Location
    Brooklyn USA
    Posts
    2,563

    Default Re: Script events for AI only

    Quote Originally Posted by Rabain View Post
    Is there a file that lists all the scripting commands and their function?
    Hey there! Try GrnEydDevl's Ultimate Docudemons. Good stuff there...

  5. #5

    Default Re: Script events for AI only

    Thanks to you both!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •