Results 1 to 22 of 22

Thread: Scripts triggered via advice, "like" show_me

Hybrid View

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

    Default Re: Scripts triggered via advice, "like" show_me

    The siege scroll as a trigger sounded such a good idea I thought I'd try it so have been trying :
    monitor_event ScrollOpened ScrollOpened seige_scroll
    and I_FactionBesieged vandals
    console_command create_unit Metatron "semin" 1
    console_command create_unit Metatron "semin" 1
    end_monitor
    that's simplified version to test it as I can't get it working, the create unit bits worked with End Turn event and settlement under siege conditions, but switching to ScrollOpened kills it - any idea what I'm missing?

    EDIT: I can get it to work on buttons eg;
    monitor_event ButtonPressed ButtonPressed siege_assault_button
    though I can't see anyway of stopping it triggering for other cities that meet the same faction ownership requirements and have enemy army standing near them (set on counter) - though I suppose if they have enemy army standing near them....
    Last edited by Makanyane; 11-12-2007 at 21:23.
    Not used mods before? Looking for something small and fun?!
    Download the:

  2. #2
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: Scripts triggered via advice, "like" show_me

    you basicly need to double up on the check, first you need to register the event of a scroll being opened, than check the condition of it being the siege-scroll

    Code:
    monitor_event ScrollOpened seige_scroll
    and ScrollOpened seige_scroll
    or

    Code:
    monitor_event ScrollOpened TrueCondition
    and ScrollOpened seige_scroll

    G

  3. #3

    Default Re: Scripts triggered via advice, "like" show_me

    Hey guys!
    Sorry for the dig - if anyone is still interested in progress on the background script automatic startup issue, this might interest you (well, don't expect much, just very small additions).

    my finds
    Last edited by Ludens; 12-18-2010 at 10:52. Reason: merged posts

  4. #4
    Arrogant Ashigaru Moderator Ludens's Avatar
    Join Date
    Nov 2003
    Posts
    9,063
    Blog Entries
    1

    Default Re: Scripts triggered via advice, "like" show_me

    Posts merged.

    Thanks for the contribution, Greno Zee.
    Last edited by Ludens; 12-18-2010 at 10:53.
    Looking for a good read? Visit the Library!

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