Results 1 to 9 of 9

Thread: Why won't my script run properly?

Hybrid View

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

    Default Re: Why won't my script run properly?

    Because the season script pauses in between turns, so anything after or in the middle of the season script only happens after that turn is reached.

    Once you declare a monitor, it continually checks the conditions, so you can declare a monitor at the top of the script and it will keep checking throughout the running of the script.

    So a general scripting tip would be to put monitors and starting commands at the top, then put while loops at the bottom in a logical order.

  2. #2
    Now sporting a classic avatar! Member fallen851's Avatar
    Join Date
    Oct 2005
    Posts
    799

    Default Re: Why won't my script run properly?

    Arg, so I put the money script up top, and the seasons below, but now when I click on a settlement to activate the script, the advisor pops up but the "Show me how" button is greyed out, oddly it didn't do that when the seasons were on top.

    I read Monk's fix in another thread, but I can't get it to work properly. Could someone please explain how to get the button working properly?
    Last edited by fallen851; 02-16-2006 at 20:39.
    "It's true that when it's looked at isolated, Rome II is a good game... but every time I sit down to play it, every battle, through every turn, I see how Rome I was better. Not unanimously, but ultimately." - Dr. Sane

    http://www.youtube.com/watch?v=L6eaBtzqqFA#t=1h15m33s

  3. #3

    Default Re: Why won't my script run properly?

    Greyed out button means that there is some fatal error in your script file and RTW wont allow to use it.
    Launch RTW with -show_err command and on RTW exit you will get information what is wrong.
    Go and fix it.

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