Block income

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
JasonVoorhees
Posts: 16
Joined: July 30th, 2010, 2:25 pm

Block income

Post by JasonVoorhees »

I'm scripting one survival and I've got a problem. I couldn't find a way to modify [side] parameters during gameplay.
I'd like to cut off income from the villages in event name=turn 24 - I will apply it to all sides. How can I do it in my script? I want to reduce village income to 0. Thanks in advance for replies ;)
User avatar
Crendgrim
Moderator Emeritus
Posts: 1328
Joined: October 15th, 2010, 10:39 am
Location: Germany

Re: Block income

Post by Crendgrim »

UMC Story Images — Story images for your campaign!
Anonymissimus
Inactive Developer
Posts: 2460
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: Block income

Post by Anonymissimus »

Code: Select all

    [modify_side]
        [filter_side]
        [/filter_side]
        village_gold=0
    [/modify_side]
in 1.9
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Post Reply