Results 1 to 20 of 20

Thread: Intermediate Guide to Scripting Discussion

Threaded View

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

    Default Re: Intermediate Guide to Scripting Discussion

    Well, perhaps it's a silly answer, but the first possible mistake is "roman Triarii" instead of "roman triarii".
    Didn't think of that. I'll fix it an give it a go.

    The second point is that I cannot see the need for a background script only for this purpose. It would be enough with a normal trigger in export_descr_advice, as in Client Kingdoms mod.
    Sorry, I didn't make it clear. I'm running a background script for a whole lot of things - such as 4tpy, historical events and such. I wanted to add this as a show_me script from the background script as the background script has the "suspend_unscripted_advice true" line added (otherwise I couldn't stop the script from continuously reloading).

    Third point: Did you try the final script without the authomatic "button pressing"?
    Good point, I'll give it a go if the Triarii typo doesn't fix it.

    You should include some "mark" just to know where the method is failing.
    Not entirely sure what you mean, or how to do it.

    When you say not working, does the advisor come up at all? Do you have entries in text\export_advice for that advice thread?
    Advisor doesn't even come up. Yes, as I said earlier, I have the text set up properly.

    Thanks for the help, guys, I'll give the script another go with a few changes.

    AFAIK RTW doesn't support multiple scripts running side by side; you'll have to include the event script in the background script in an event_monitor ButtonPressed ButtonPressed advisor_button_of_choice (excluding show_me button - no multiple scripts -> no script running -> no registered click on the button, or something to that effect; this limits the button quite surely to advisor_portrait_button).
    Good point, but I could have sworn that the TFT mod made this work...
    Last edited by Cheexsta; 12-07-2005 at 14:52.

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