Results 1 to 12 of 12

Thread: Scripting

Threaded View

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

    Default Re: Scripting

    Hello scripters!

    I'm experimenting with some disease traits right now, and using the campaign_script I'd like to kill off mortally afflicted characters...

    Now, to kill a character with the trait MortalScurvy = 1, does this script suffice?:

    monitor_event CharacterTurnEnd Trait MortalScurvy = 1
    console_command kill_character this
    end_monitor

    Apparently the game doesn't recognize 'this' when used with the kill_character command, though this is not the case when the command 'give_trait this X' is used.

    What exactly am I doing wrong here :P?
    Last edited by isellj0epnuts; 01-31-2007 at 05:15.
    Co-Author of Bloods, Broads and Bastards - a Traits and Ancillaries mod for M2TW

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