Results 1 to 3 of 3

Thread: Trigger question

Hybrid View

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

    Default Trigger question

    Im working on a script for the Teutonic order in the kingdoms campaign.

    Whenever a new general is ofered for adoption and acepted, the script shall trigger.
    But it seems I dont monitor the right event.

    So far I have tried:
    Code:
    monitor_event CharacterComesOfAge CharacterIsLocal 
    		and IsGeneral 
    		do stuff
    	end_monitor
    and
    Code:
    monitor_event OfferedForAdoption CharacterIsLocal
    		do stuff
    	end_monitor
    and
    Code:
    monitor_event BrotherAdopted CharacterIsLocal
    		do stuff
    	end_monitor
    None of them was triggered with the Teutonic Order.

    Is there any other event I could try?
    "Worüber man nicht sprechen kann, darüber muss man schweigen."
    -Wittgenstein

  2. #2
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Trigger question

    You can try LesserGeneralOfferedForAdoption and see if that helps. Go to the tutorial section and grab the most current version of the docudemons and they should have all possible events/conditions/commands that can be used.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  3. #3

    Default Re: Trigger question

    Thanks for the help

    It turned out my script was buged somewhere else. I forgott to an "end" after a "spawn_army"
    2000 lines of code make syntax checking a bit difficult

    regarding LesserGeneralOfferedForAdoption and OfferedForAdoption: it seems they are both ignored. The log indicates only the BrotherAdopted trigger is fireing.
    "Worüber man nicht sprechen kann, darüber muss man schweigen."
    -Wittgenstein

Posting Permissions

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