Results 1 to 6 of 6

Thread: strange thing

  1. #1

    Default strange thing

    i have a little trait with triggers but somehow the trigger always seems too fire for the factionleader even if he already got the trait,is it becausce i put this trait in when i was playing a campaign,our is their something wrong with the triggers?

    trigger
    Code:
    ;------------------------------------------Trigger highauthorityloss
    WhenToTest CharacterTurnEnd
    
    
    
    
    Condition Condition IsFactionLeader
    
    
    and FactionLeaderAttribute Authority <= 8
    and Trait highauthority >= 1
    
    
    
    
    Affects highauthority -1 chance 100
    
    
    ;------------------------------------------
    Trigger highauthority
    WhenToTest CharacterTurnEnd
    
    
    
    
    Condition Condition IsFactionLeader
    
    
    
    
    and Trait highauthority = 0
    and FactionLeaderAttribute Authority > 8
    
    
    
    
    Affects highauthority 1 chance 100
    trait;
    Code:
    ;============================
    
    Trait highauthority
        Characters family
    
    
        Level highauthority
            Description highauthority_desc
            EffectsDescription highauthority_effects_desc
            GainMessage highauthority_gain
            Threshold  1 
    
    
            Effect Authority  1

  2. #2

    Default Re: strange thing

    oke just find it out why,just used condition condition two times condition,so it did not work good,now it seems too work good but i had too put the line and ISfactionleader in even when the condition is saying ISfactionleader are else it fires on all the generals,this seems too be strange.

  3. #3
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: strange thing

    i had too put the line and ISfactionleader in even when the condition is saying ISfactionleader are else it fires on all the generals,this seems too be strange.
    That doesn't sound right. Can you show how your triggers look now?

  4. #4

    Default Re: strange thing

    wel lucky it's working now here are the triggers i use now

    Code:
    ;------------------------------------------Trigger highauthorityloss
    WhenToTest CharacterTurnEnd
    
    
    
    
    Condition IsFactionLeader
    
    
    and FactionLeaderAttribute Authority <= 8
    and Trait highauthority >= 1
    and IsFactionLeader
    
    
    
    
    Affects highauthority -1 chance 100
    
    
    ;------------------------------------------
    Trigger highauthority
    WhenToTest CharacterTurnEnd
    
    
    
    
    Condition IsFactionLeader
    
    
    
    
    and Trait highauthority = 0
    and FactionLeaderAttribute Authority > 8
    and IsFactionLeader
    
    
    
    
    Affects highauthority 1 chance 100
    well i have no idea why i have too use and isFactionleader if the condition is Isfactionleader,but this game has gone crazy on me before lol.
    Last edited by stevietheconquer; October 11, 2014 at 10:58 AM.

  5. #5
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: strange thing

    Surely not. Why the blank lines between the "condition" line and the "and" lines? Maybe that has something to do with it.

  6. #6

    Default Re: strange thing

    Quote Originally Posted by Withwnar View Post
    Surely not. Why the blank lines between the "condition" line and the "and" lines? Maybe that has something to do with it.
    yes Withwnar you are wright it has too do with the blank lines between "condition" line and the "and" lines yes removed the blank lines and removed the and isfactionleader and it works now like with the and isfactionleader have too look out then as i have some more triggers with the blank lines between "condition" line and the "and" lines

Posting Permissions

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