Results 1 to 6 of 6

Thread: Use of FactionWarDeclared?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Use of FactionWarDeclared?

    I have been trying to test if a particular faction (france) has declared war on another particular faction (england), but haven't had much success. The docudemons suggest something like this:

    Code:
    monitor_event FactionWarDeclared FactionType france
        and TargetFactionType england
    but somehow I haven't been successful. Any other suggestions?










  2. #2
    Aikanár's Avatar no vaseline
    Join Date
    Mar 2009
    Location
    Sanctuary
    Posts
    12,516
    Blog Entries
    3

    Default Re: Use of FactionWarDeclared?

    Yep, the thing is, that TargetFactionType is the needed logic token in this one, thus "and" is regarded as such but disqualifies.

    These work:
    Code:
    monitor_event	FactionWarDeclared	FactionIsLocal	TargetFactionType	france
    log	always
    ui_flash_start	recruitment_button
    end_monitor
    
    monitor_event	FactionWarDeclared	FactionType	england	TargetFactionType	france
    log	always
    ui_flash_start	recruitment_button
    end_monitor
    IsFactionAIControlled should work as well


    Son of Louis Lux, brother of MaxMazi, father of Squeaks, Makrell, Kaiser Leonidas, Iskar, Neadal, Sheridan, Bercor and HigoChumbo, house of Siblesz

    Not everything that counts can be counted, and not everything that can be counted counts.

  3. #3
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Use of FactionWarDeclared?

    Thanks for the feedback - I will test it and come back.










  4. #4
    Aikanár's Avatar no vaseline
    Join Date
    Mar 2009
    Location
    Sanctuary
    Posts
    12,516
    Blog Entries
    3

    Default Re: Use of FactionWarDeclared?

    You're welcome, it might be of interest, that this fires when the post_battle_scroll pops up, not when you attack the faction the first time.


    Son of Louis Lux, brother of MaxMazi, father of Squeaks, Makrell, Kaiser Leonidas, Iskar, Neadal, Sheridan, Bercor and HigoChumbo, house of Siblesz

    Not everything that counts can be counted, and not everything that can be counted counts.

  5. #5
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Use of FactionWarDeclared?

    That won't be of any consequence if both factions are AI controlled, won't it?










  6. #6
    Aikanár's Avatar no vaseline
    Join Date
    Mar 2009
    Location
    Sanctuary
    Posts
    12,516
    Blog Entries
    3

    Default Re: Use of FactionWarDeclared?

    Indeed not


    Son of Louis Lux, brother of MaxMazi, father of Squeaks, Makrell, Kaiser Leonidas, Iskar, Neadal, Sheridan, Bercor and HigoChumbo, house of Siblesz

    Not everything that counts can be counted, and not everything that can be counted counts.

Posting Permissions

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