Results 1 to 4 of 4

Thread: Can anyone tell me how to know a faction dead or not in the campaign_script?

Hybrid View

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

    Default Can anyone tell me how to know a faction dead or not in the campaign_script?

    I have succesfully created a script in Re-emergent faction, it seemed working well.
    But I got a new problem in this script.Every time the authority that of Factionleader who capturing the capital of another Faction is low.The army spawn beside the old capital-----even their Faction is not destroy at all!
    Is there any "condition" can test whether a Faction been destroyed or not?
    I used monitors such as that"and not I_FactionLeaderTrait england Factionleader > 0",but it works not at all.
    THX a lot for your help and the patient for my broken English.

  2. #2
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: Can anyone tell me how to know a faction dead or not in the campaign_script?

    Try using the LeaderDestroyedFaction event and setting a counter for each faction that has been destroyed.

  3. #3

    Default Re: Can anyone tell me how to know a faction dead or not in the campaign_script?

    Would you please show me a example?

  4. #4
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: Can anyone tell me how to know a faction dead or not in the campaign_script?

    monitor_event LeaderFactionDestroyed FactionType england

    put commands here. Set a counter, and then check the counter before you emerge anything.

    end_monitor



    From the docudemons:
    LeaderDestroyedFaction
    A faction has been destroyed
    nc_character_record, character_record, faction, region_id, character_type
    ET_LEADER_DESTROYED_FACTION

Posting Permissions

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