Overriding unit advancements

The place to post your WML questions and answers.

Moderators: Forum Moderators, Developers

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.
User avatar
Ravana
Moderator
Posts: 2005
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Overriding unit advancements

Post by Ravana » January 8th, 2019, 8:18 pm

If wesnoth.game_config doesnt have campaign info then it should be added there.

With [lua][args] you can make use of preprocessing. Havent really used [args] though.

User avatar
The_Gnat
Posts: 1937
Joined: October 10th, 2016, 3:06 am
Contact:

Re: Overriding unit advancements

Post by The_Gnat » January 8th, 2019, 8:53 pm

Ravana wrote:
January 8th, 2019, 8:18 pm
If wesnoth.game_config doesnt have campaign info then it should be added there.

With [lua][args] you can make use of preprocessing. Havent really used [args] though.
Okay, that is good to know. However, It is not critical so I won't worry about it. The main thing has already been achieved with the advancement event which is far superior to the [advancefrom] tag I was using before ^_^

Post Reply