Search found 36 matches
- August 27th, 2014, 10:22 pm
- Forum: WML Workshop
- Topic: Owl's WML (Currently: Solved)
- Replies: 124
- Views: 23207
Re: Owl's WML (Currently: Variable Alignment)
Sounds like this bug maybe: https://gna.org/bugs/index.php?22178
- August 14th, 2014, 4:31 pm
- Forum: Users’ Forum
- Topic: Orks are a horde
- Replies: 3
- Views: 1523
Re: Orks are a horde
You mean Cackfiend http://forums.wesnoth.org/viewtopic.php ... 9&start=75
- August 1st, 2014, 3:06 pm
- Forum: Art Workshop
- Topic: Avian Faction portraits and sprites
- Replies: 176
- Views: 56213
Re: Avian Faction portraits and sprites
There are still some ideas needed for new units. If you have some suggestions feel free to post in the faction thread in Faction & Era Development
- June 28th, 2014, 10:25 am
- Forum: WML Workshop
- Topic: H2 change level of unit inside event?
- Replies: 12
- Views: 2602
Re: H2 change level of unit inside event?
You have to unstore the variable to make the changes take effect. I tested the following [event] name= attack end first_time_only= no [set_variable] name=unit.level add=1 [/set_variable] [unstore_unit] variable=unit find_vacant=no [/unstore_unit] [/event] and it works. I don't know what goes wrong i...
- June 18th, 2014, 11:44 am
- Forum: WML Workshop
- Topic: non MP-safe WML
- Replies: 42
- Views: 15646
Re: non MP-safe WML
Vanagandr, my addons was: Green Island, Game of Kings, Deadly Competition but I remove them after OOS. Because all they are for MP-playing and no sense to play on them while OOS not removed from wesnoth. Well, if they aren't online anymore noone can really help you testing or look over the code. Al...
- June 18th, 2014, 11:18 am
- Forum: WML Workshop
- Topic: non MP-safe WML
- Replies: 42
- Views: 15646
Re: non MP-safe WML
By the way, what is your add-on called? I might have missed it somewhere, but I searched on the 1.10 add-on server for author "myav" and nothing showed up.
- June 17th, 2014, 5:14 pm
- Forum: WML Workshop
- Topic: non MP-safe WML
- Replies: 42
- Views: 15646
Re: non MP-safe WML
myav's wml code earlier in this thread. He wanted to know how to make his code not throw OOS errors. I guess this wiki page may also be relevant for him.
- June 17th, 2014, 5:04 pm
- Forum: WML Workshop
- Topic: non MP-safe WML
- Replies: 42
- Views: 15646
Re: non MP-safe WML
Ah, thanks. Does that mean that his code should already be mp safe (in 1.11 onwards)?
- June 17th, 2014, 4:54 pm
- Forum: WML Workshop
- Topic: non MP-safe WML
- Replies: 42
- Views: 15646
Re: non MP-safe WML
I did adapt it so that it doesn't use the sides option which is exclusive to 1.13. Do you mean it would cause OOS because of math.random?
- June 17th, 2014, 4:47 pm
- Forum: WML Workshop
- Topic: non MP-safe WML
- Replies: 42
- Views: 15646
Re: non MP-safe WML
I adapted one of the examples on the wiki, maybe it helps you. I didn't test it though, so it may be completely wrong. [event] name = "start" [lua] code = << wesnoth.set_variable("input1",nil) local result = wesnoth.synchronize_choice( function() local option1 = {"option&quo...
- June 11th, 2014, 10:03 am
- Forum: WML Workshop
- Topic: Avian Era WML thread
- Replies: 16
- Views: 3614
Re: [animate_unit] in right click menu
hum, ignore me if I am wrong, but just in case... could be you forgot use heal_full=yes [effect] apply_to=hitpoints increase_total={HP} heal_full=yes [/effect] In case you meant me, I didn't write any [effect], I just used [transform_unit] and the unit that was transformed had the resilient trait (...
- June 11th, 2014, 9:44 am
- Forum: WML Workshop
- Topic: Overlay displayed with experience gained (solved)
- Replies: 19
- Views: 3484
Re: Overlay displayed with experience gained inside AMLA
Yeah, sorry I screwed that up, I was confused because he used [variable]. Just do [filter_wml] max_experience=12 [/filter_wml] That will check if the unit's max XP is 12. As Dugi said [variables] is for variables of the unit that you set yourself. You can manipulate overlays with [effect] (and there...
- June 10th, 2014, 11:25 pm
- Forum: Faction & Era Development
- Topic: Avian Faction (The faction of winged people)
- Replies: 70
- Views: 20452
Re: Avian Faction (The faction of winged people)
Hm, yeah I guess if you look at backstab that way it doesn't really make sense for a ranged unit to have it. I was looking at it rather that the unit getting backstabbed doesn't have to be in an actual fight at the moment, it just has its attention elsewhere, as it is not necessary that the unit get...
- June 10th, 2014, 8:36 pm
- Forum: WML Workshop
- Topic: Overlay displayed with experience gained (solved)
- Replies: 19
- Views: 3484
Re: Overlay displayed with experience gained inside AMLA
As I wrote above, it should be [filter_wml] [variables] max_experience=12 [/variables] [/filter_wml] [variable] cannot be used in filters, it is different from [variables] (what you want to use). Edit: If you don't want to remove any existing overlays, then your code is fine (apart from the filter).
- June 10th, 2014, 8:19 pm
- Forum: WML Workshop
- Topic: Overlay displayed with experience gained (solved)
- Replies: 19
- Views: 3484
Re: Overlay displayed with experience gained inside AMLA
You can remove an overlay with [remove_unit_overlay].
What exactly do you want to do? You can do it as part of your AMLA, but that makes it more difficult to remove overlays. If removing overlays is important you can do what Dugi suggested.
What exactly do you want to do? You can do it as part of your AMLA, but that makes it more difficult to remove overlays. If removing overlays is important you can do what Dugi suggested.