Search found 845 matches

by enclave
Yesterday, 4:59 pm
Forum: WML Workshop
Topic: If unit Advances, all adjacent units gain experience
Replies: 2
Views: 49

Re: If unit Advances, all adjacent units gain experience

i havent tried if it works, so let me know if it doesnt: [event] name=advance first_time_only=no [store_unit] [filter] x,y=$unit.x,$unit.y ability=experience_giver ## replace it with your ability or unit id or whatever.. or you can add filter to advance event instead... so not every advancing unit g...
by enclave
Yesterday, 4:43 pm
Forum: WML Workshop
Topic: Move leader back to keep every turn -- Code not working
Replies: 4
Views: 69

Re: Move leader back to keep every turn -- Code not working

I dont think you are allowed to leave holes in wml arrays. (playerstore[0]) Y I feel the same, you could try to do [store_unit] variable=playerstore[0].unit but you unlikely can do it your way.. then you would access it with playerstore[0].unit.x etc you could check what arrays it created using com...
by enclave
Yesterday, 4:34 pm
Forum: WML Workshop
Topic: ghype's Coding Problems - Modify Xp Reward
Replies: 27
Views: 389

Re: ghype's Coding Problems - Modify Xp Reward

for now i would suggest to try put {VARIABLE second_unit.name testname} and just test your event works at all.. see if the name will change..
if it change then we can think further.. i just woke up sorry I'm not very helpful..

what error message exactly?
by enclave
October 21st, 2018, 4:19 pm
Forum: WML Workshop
Topic: ghype's Coding Problems - Modify Xp Reward
Replies: 27
Views: 389

Re: ghype's Coding Problems - Modify Xp Reward

Ravana means it should be:

Code: Select all

[unstore_unit]
        variable=second_unit
by enclave
October 21st, 2018, 4:16 pm
Forum: Scenario & Campaign Development
Topic: WML Guide: feedback requested
Replies: 5
Views: 126

Re: WML Guide: feedback requested

I think advanced description of add-on should be enough too, I will have a closer look later and report :)
by enclave
October 21st, 2018, 6:48 am
Forum: Scenario & Campaign Development
Topic: WML Guide: feedback requested
Replies: 5
Views: 126

Re: WML Guide: feedback requested

Ok... the only thing I wanted to mention is that I downloaded it, I played it, I won it.. was expecting some popup messages along game of how something is created.. but they never appeared :D 1) People will download it without reading the title or without proper understanding of the title of the cam...
by enclave
October 21st, 2018, 6:15 am
Forum: Website
Topic: Wiki issue with AI_Recruitment
Replies: 2
Views: 73

Re: Wiki issue with AI_Recruitment

Im not sure about [recruit] tag in particular, but with any other tag (like [unit]) it would work without quotes to the best of my knowledge, UNLESS you are using it with macro or custom macro... (and your macro requires 1 variable, but instead you are feeding it with 2 variables.. it then gives err...
by enclave
October 20th, 2018, 6:10 am
Forum: WML Workshop
Topic: ghype's Coding Problems - Modify Xp Reward
Replies: 27
Views: 389

Re: ghype's Coding Problems - Modify Xp Reward

if you refer this post, the yes it was discussed and you eventually found a solution on hiding the xp bar. but those approaches do not indicate that it is possible with the hp as well. yeah indeed that doesnt mean u can hide hp the same way.. not sure that it's the post i talked about, my memory is...
by enclave
October 19th, 2018, 12:34 pm
Forum: WML Workshop
Topic: ghype's Coding Problems - Modify Xp Reward
Replies: 27
Views: 389

Re: ghype's Coding Problems - Modify Xp Reward

it might not be helpful but removing hp and xp bar was discussed before in forums, and i think somebody removed them succesfully. Try to use search within/inside this forum, it may have a good chance u find something more useful than links to documentation.. i think it was about experience bar, but ...
by enclave
October 17th, 2018, 10:33 am
Forum: Users’ Forum
Topic: Question
Replies: 2
Views: 140

Re: Question

if you are talking about the text in the game mode (unit hitpoints, attacks etc, gold amount) then (on windows 7) you could go to: C:\Program Files (x86)\Battle for Wesnoth 1.14.1\data\themes Open file called: default.cfg (if you are using default theme, I use classic pre 1.12, so for me its differe...
by enclave
October 16th, 2018, 9:35 pm
Forum: WML Workshop
Topic: Ready to publish but need help
Replies: 8
Views: 155

Re: Ready to publish but need help

yeah, making a post in forum first is better :D you can always modify it later :) works well if your addon is 100mb :)
by enclave
October 16th, 2018, 8:48 pm
Forum: WML Workshop
Topic: enclave's WML Macros questions Thread
Replies: 177
Views: 17537

Re: enclave's WML Macros questions Thread

hmm you think it will work as it is... thats interesting idea.. i was sure if its looking messed up in debug list then it wont work... I will check to make sure it doesnt work or works... but it didn't work the first time.. i will just try some more things... maybe i try to change that die event int...
by enclave
October 16th, 2018, 8:22 pm
Forum: WML Workshop
Topic: enclave's WML Macros questions Thread
Replies: 177
Views: 17537

Re: enclave's WML Macros questions Thread

Hello, I have a question... about nested events inside events.. something like that.. I have [event] name=start which has [if] variable=1 then [event] name=die inside die event it has 2 other events: [event] name=moveto id=dead_king_moveto_side$unit.side [event] name=side $unit.side turn My question...
by enclave
October 16th, 2018, 1:58 pm
Forum: WML Workshop
Topic: Ready to publish but need help
Replies: 8
Views: 155

Re: Ready to publish but need help

yeah as Pentarctagon mentioned the topic id is the topic id of any topic.. and I would advise to create it somewhere in either "Gameplay Feedback" (Organized feedback topics for mainline and user-made content.) or i don't really know where... see what is more appropriate.. if its wrong then moderato...