Results 1 to 3 of 3

Thread: Rome 2 events

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Foederatus
    Join Date
    Apr 2010
    Location
    Russia, Volgograd
    Posts
    27

    Default Rome 2 events

    Hi,

    in scripting.lua:
    events.FactionTurnStart[#events.FactionTurnStart+1] = function(context)
    effect.adjust_treasury(2000, context)
    end
    no effect. What wrong?

  2. #2
    Foederatus
    Join Date
    Apr 2010
    Location
    Russia, Volgograd
    Posts
    27

    Default Re: Rome 2 events

    sorry this code not working:
    events.FactionTurnStart[#events.FactionTurnStart+1] = function(context)
    if CampaignUI.IsPlayersTurn() == true then
    effect.adjust_treasury(1000, context)
    end
    end

  3. #3
    Foederatus
    Join Date
    Apr 2010
    Location
    Russia, Volgograd
    Posts
    27

    Default Re: Rome 2 events

    all done, How i can get cursor coordinates?

Posting Permissions

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