Results 1 to 4 of 4

Thread: A liite question about add_money command

Hybrid View

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

    Default A liite question about add_money command

    I apologise that i'm asking again...
    I made script like this (it should add money to faction which is the owner of Vienna and if in Vienna exists structure called "manufaktura")
    PHP Code:
    monitor_event SettlementTurnStart SettlementName Vienna
        
    and SettlementBuildingExists manufaktura
        
    and FactionType hre
        console_command add_money hre 2000
    end_monitor 
    log says:
    add_money hre 2000
    err: faction type not recognised
    The question is:
    May i change line
    console_command add_money hre 2000
    to line
    console_command add_money 2000
    and still add money only for settlement owner even if the player took different faction?

  2. #2
    Kiliç Alì's Avatar Domesticus
    Artifex

    Join Date
    Feb 2011
    Location
    Italy
    Posts
    2,114

    Default Re: A liite question about add_money command

    add_money "hre" 10000

    remember the ""

    Member of the Imperial House of Hader, proud client of The only and sole Ferrit

  3. #3

    Default Re: A liite question about add_money command

    Thank you. I didn't knot that i need to use faction type in quotes.
    I would like to use condition NumBuildingsCompleted to get the number of buildings constructed by specific faction. In docudemos i wrote that this type of condition needs trigger prior_build. What kind of trigger is it?

    And what checks it? Only building given as parameter of this condition? Takes it into account other buildings from the same tree?
    Last edited by attyla; September 27, 2012 at 07:38 AM.

  4. #4
    Den Stark's Avatar Tiro
    Join Date
    May 2012
    Location
    Vladivostok
    Posts
    248

    Default Re: A liite question about add_money command

    monitor_event SettlementTurnStart SettlementName Vienna
    and SettlementBuildingExists = manufaktura
    and FactionType hre
    increment_kings_purse hre 2000
    end_monitor

    will it work? )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •