Results 1 to 30 of 116

Thread: An Intermediate Guide to Scripting

Threaded View

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

    Default Re: An Intermediate Guide to Scripting

    Question guys, which I feel is a little silly but here it is nonetheless: how do you test if a character has a certain trait, and what level of the trait? I tried the following and it doesn't work:

    Code:
    monitor_event CharacterTurnStart TrueCondition
       if FactionType empire_west
          if Trait AgeTraitLevel1 = 1
             ; do some stuff
          end_if
       end_if
    end_monitor
    Last edited by SigniferOne; 02-05-2006 at 05:52.

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