Overriding unit advancements

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

Re: Overriding unit advancements

Post by Ravana »

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: 2215
Joined: October 10th, 2016, 3:06 am
Contact:

Re: Overriding unit advancements

Post by The_Gnat »

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