Search found 6 matches

by landofMordor
February 18th, 2022, 3:10 pm
Forum: Ideas
Topic: Add boolean "set_amount" (or similar term) to [gold] tag
Replies: 11
Views: 2666

Re: Add boolean "set_amount" (or similar term) to [gold] tag

Spannerbag wrote: October 2nd, 2021, 2:10 pm
Bit late now, but FWIW here's the v14 version of my code:

... and here's the comments and implementation in _main.cfg
This is an awesome snippet of code. Could I borrow it for a UMC, attributing you in my _main.cfg?
by landofMordor
May 4th, 2020, 7:53 pm
Forum: WML Workshop
Topic: Mordor's WML Problems
Replies: 7
Views: 1914

Re: Mordor's WML Problems

Ravana wrote: May 4th, 2020, 7:33 pm Try x,y=$locvar.x,$locvar.y
Worked like a charm. (Obviously I need to level-up my variable skills, haha.) Thank you for the speedy reply!
by landofMordor
May 4th, 2020, 7:05 pm
Forum: WML Workshop
Topic: Mordor's WML Problems
Replies: 7
Views: 1914

Re: Mordor's WML Problems

Having trouble using the random_placement tag (https://wiki.wesnoth.org/InternalActionsWML#.5Brandom_placement.5D). I'm trying to have undead units spawn in a semi-random fashion (zombie horde kinda feeling), and this was the most succinct code I could find to accomplish this. I think I'm getting so...
by landofMordor
November 16th, 2019, 11:09 pm
Forum: WML Workshop
Topic: Mordor's WML Problems
Replies: 7
Views: 1914

Re: Mordor's WML Problems

You should try using :inspect liberally to make sure that all the variables and units are set they way you expect them to be in both scenarios. Thanks again for this suggestion. I learned that both of my problems were caused by losing my recall list at the end of scenario 7. Therefore, my leader wa...
by landofMordor
November 11th, 2019, 7:59 pm
Forum: WML Workshop
Topic: Mordor's WML Problems
Replies: 7
Views: 1914

Re: Mordor's WML Problems

Noted, beetlenaut (how do I @ you on this forum?). I'll give :inspect a shot this weekend and post more detailed code if needed. I'll probably post a WIP version on the add-on server, too, once I get scenario 9 hacked out. Thanks!
by landofMordor
November 10th, 2019, 7:52 pm
Forum: WML Workshop
Topic: Mordor's WML Problems
Replies: 7
Views: 1914

Mordor's WML Problems

Hey all, first post here, about six months into my hobby writing WML campaigns. The majority of my coding issues have been pretty easy to find here on the forums (EarthCake, thank you for having all of my same problems right before I did, lol), but a couple issues have persisted and I can't find wor...