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

    I don't understand, I'm using Malrubius' code:

    Code:
    monitor_event CharacterTurnStart FactionType empire_west
          and Trait AgeTraitLevel1 = 1
             ; do some stuff
         
    end_monitor
    To do something to the character when a turn starts, but nothing happens. Here's the full code:

    Code:
    	console_command give_trait "Gaius Fabricius" GoodCommander 2
    	campaign_wait 2
    	console_command add_money 1000
    	campaign_wait 2
    
    	monitor_event CharacterTurnStart FactionType empire_west
    		and Trait GoodCommander = 2
    
    		; do stuff
    
    	end_monitor
    I start the campaign, press F1 and run the script, the Trait is added, I press Next Turn expecting some stuff to happen to the char based on that trait, but nothing happens... Help?

    PS: ER, would you like me to use the other thread referencing this one from now on?
    Last edited by SigniferOne; 03-10-2006 at 05:00.

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