Results 1 to 9 of 9

Thread: Why won't my script run properly?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Now sporting a classic avatar! Member fallen851's Avatar
    Join Date
    Oct 2005
    Posts
    799

    Default Why won't my script run properly?

    The first part of my script is the 4 turns a year piece by Mydral (spelling...), and that part of the script works fine, but then I get into the part where I want the AI to get some extra cash, and it doesn't appear to be working (at least not in Romeshell).

    "script

    suspend_during_battle on
    console_command date -272
    console_command season summer
    while I_TurnNumber = 0
    suspend_unscripted_advice true
    end_while
    ....
    declare_counter loop
    set_counter loop 0

    monitor_event FactionTurnStart Treasury < 10000
    and FactionType romans_julii
    and not I_LocalFaction romans_juli

    console_command add_money roman_julii, 10000

    end_monitor

    while I_CompareCounter loop = 0
    end_while

    end_script"


    The triggers and seasons work fine, but why won't the money script work? When I open Romeshell it doesn't show any money being added, is there another way I can check? If I remove the "not" from "and not I_LocalFaction romans_juli", will it give the money to me?

    Please help. Thanks.
    Last edited by fallen851; 02-16-2006 at 06:57.
    "It's true that when it's looked at isolated, Rome II is a good game... but every time I sit down to play it, every battle, through every turn, I see how Rome I was better. Not unanimously, but ultimately." - Dr. Sane

    http://www.youtube.com/watch?v=L6eaBtzqqFA#t=1h15m33s

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