Results 1 to 30 of 42

Thread: Can I use a script to end the turn?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #16
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Can I use a script to end the turn?

    on that last example think you're missing

    set_counter loop 0

    under the declare_counter
    not sure if it defaults to that otherwise.

    @Monkwarrior, I haven't tried -ai from background script, I might have a look at that. I did get it to save with that on shortcut at one stage but, reloading the save without the shortcut command still set it off on its own again, so I rather gave up on looking at it.

    If you are doing anything that switches command to AI I think you may need to look at how rest of script works, I assume that it messes up anything reliant on LocalFaction triggers. I've got Year Jump script triggerable while background script is in use, so I've put a counters in to determine what local faction is on first turn, and use those counters throughout instead of LocalFaction

    EDIT: old discussion on -ai for info
    https://forums.totalwar.org/vb/showt...ghlight=run_ai
    Last edited by Makanyane; 11-28-2007 at 12:12.
    Not used mods before? Looking for something small and fun?!
    Download the:

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