Results 1 to 2 of 2

Thread: How do you add your own triggers

  1. #1
    Member Member Death Match's Avatar
    Join Date
    Oct 2006
    Location
    Segestica
    Posts
    159

    Default How do you add your own triggers

    ;------------------------------------------
    Trigger reinherited
    WhenToTest BecomesFactionHeir

    Condition Trait Exheir = 1

    Affects Factionheir 1 Chance 100
    How do you create your own triggers?
    A revolutionary game featuring Mafia as protagonists!
    A game designed to give maximum people the roles
    A game that gives secret roles to people along the way
    A game that everybody will enjoy!

    Mafia: The Merging of America Cosa Nostra
    Register your place now!

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

    Default Re: How do you add your own triggers

    If you can find one similar to what you want copy it and paste it somewhere else in trigger section (note the file reads from top down so if you want x percentage chance of something to happen before you get y percentage of something else you need to put first trigger above second)

    ;------------------------------------------
    Trigger reinherited_death_match
    WhenToTest BecomesFactionHeir

    Condition Trait Exheir = 1

    Affects Factionheir 1 Chance 50
    You have to give trigger unique name but that can be anything you like, all one word or using underscores. The trigger name isn't referenced anywhere else - you don't have to add it to any other file. Sticking your own or the mods name in it can help you easily identify new triggers.

    Look at other triggers to see what WhenToTest and Conditions are available, note not all work in combination with each other.

    What exactly are you trying to do?
    Last edited by Makanyane; 04-28-2007 at 14:05.
    Not used mods before? Looking for something small and fun?!
    Download the:

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