Search found 373 matches

by WhiteWolf
May 26th, 2018, 1:47 pm
Forum: WML Workshop
Topic: Is it possible to specify a time-limit for dialogue options?
Replies: 3
Views: 554

Re: Is it possible to specify a time-limit for dialogue options?

Yeah, that would be another useful case too :)
by WhiteWolf
May 26th, 2018, 12:15 pm
Forum: WML Workshop
Topic: Is it possible to specify a time-limit for dialogue options?
Replies: 3
Views: 554

Is it possible to specify a time-limit for dialogue options?

Hello, I was wondering whether it's possible to add a time-limit to [message][option] tags, so that the player has only a specified time to decide between options, and if it expires, the choice is made randomly. I'm not absolutely sure whether this idea is that great, and it would certainly come in ...
by WhiteWolf
May 25th, 2018, 5:41 pm
Forum: WML Workshop
Topic: Quick way to decide if a WML variable is numeric?
Replies: 5
Views: 599

Re: Quick way to decide if a WML variable is numeric?

Thanks :)
Though in the meantime, I found a better way to handle numeric input with lua sliders: viewtopic.php?f=58&t=47728
by WhiteWolf
May 25th, 2018, 4:42 pm
Forum: WML Workshop
Topic: Quick way to decide if a WML variable is numeric?
Replies: 5
Views: 599

Quick way to decide if a WML variable is numeric?

Hi, The scenario is the following: The user will give a value, using [text_input] in a [message], and later I will want to compare that value to other variables. I wish to make the method idiot-proof. What is the best way to decide if the value the player gave is a valid number? And not, say 12ab5. ...
by WhiteWolf
May 9th, 2018, 6:45 pm
Forum: WML Workshop
Topic: Is there a command that forces a unit to level up?
Replies: 2
Views: 309

Re: Is there a command that forces a unit to level up?

If you reply, please quote my text so i can receive a notification for this. Thanks!! You could manually set the unit's experience to its max experience. It'll level up when unstored. [store_unit] [filter] your unit [/filter] variable=adv kill=yes [/store_unit] {VARIABLE adv.experience $adv.max_exp...
by WhiteWolf
April 20th, 2018, 11:04 am
Forum: Art Workshop
Topic: The Gnats Franken Dungeon
Replies: 548
Views: 44895

Re: The Gnats Franken Dungeon

Also White wolf, do you want to me to do a quick edit on a few parts of the portrait? Some parts like the neck seem a little out of place... and same for the chain mail on his neck. Also I think it's a very good portrait :D Sure :) The chain mail is there so that the front under the black armor is ...
by WhiteWolf
April 18th, 2018, 2:50 pm
Forum: Art Workshop
Topic: The Gnats Franken Dungeon
Replies: 548
Views: 44895

Re: The Gnats Franken Dungeon

I needed a higher vampire lord for my campaign, so I guessed I frankensteined one. I didn't really find anything related in other UMC's or here, so here it is, maybe someone else can use it as well :D The base unit the portrait was needed for was the Master of Darkness from Reign of the Lords, by th...
by WhiteWolf
January 31st, 2018, 1:13 pm
Forum: Faction & Era Development
Topic: Factions and Units from the World of Eragon
Replies: 6
Views: 1261

Re: Factions and Units from the World of Eragon

It's not about "commercial success" - it's because everything you release on the add-ons server must be under GLP license (or in case of art/music it can be now some variant of CC, I don't know exactly which). And you cannot relicense copyrighted material, including the names, the world, the map, an...
by WhiteWolf
January 28th, 2018, 5:41 pm
Forum: WML Workshop
Topic: How to make one unit stop striking during an attack
Replies: 29
Views: 1940

Re: How to make one unit stop striking during an attack

So I see. Another insert_tag example :D Thanks :)
by WhiteWolf
January 28th, 2018, 2:09 pm
Forum: WML Workshop
Topic: How to make one unit stop striking during an attack
Replies: 29
Views: 1940

Re: How to make one unit stop striking during an attack

I had the thing on rest for a while, but I finished experimenting, and the best result i'd say is... set the damage to zero. Not sure if it's intentional or not, but when damage=0, always the miss animation is played, even when the unit should hit a do 0 damage. Kinda cool for the feature I want out...
by WhiteWolf
January 26th, 2018, 9:57 pm
Forum: WML Workshop
Topic: Check for item in terrain
Replies: 6
Views: 474

Re: Check for item in terrain

For this I use [store_items] on the tile, and then if there's an item there, then

Code: Select all

[variable]
    name=stored_items.image
    contains="png"
[/variable]
will be true, if there is no item there, it'll be false.
by WhiteWolf
January 25th, 2018, 9:59 am
Forum: WML Workshop
Topic: How to use [floating_text]
Replies: 12
Views: 768

Re: How to use [floating_text]

Oh, silly me then :D
I still think it should be between ""-s though, maybe that solves it?
by WhiteWolf
January 25th, 2018, 9:06 am
Forum: WML Workshop
Topic: How to use [floating_text]
Replies: 12
Views: 768

Re: How to use [floating_text]

What is "round()"? Is it a variable you also want to multiply with...? Or you just want the value to be rounded? It doesn't work this way, if you want to round it, you first need to calculate this value in a WML variable, then use the ceil/floor attributes of the [set_variables] tag. Or just leave i...
by WhiteWolf
January 23rd, 2018, 4:53 pm
Forum: WML Workshop
Topic: How to consume attack?
Replies: 14
Views: 536

Re: How to consume attack?

Add speaker=unit to the [message] :)
by WhiteWolf
January 23rd, 2018, 4:20 pm
Forum: WML Workshop
Topic: How to consume attack?
Replies: 14
Views: 536

Re: How to consume attack?

Because in 1.12, orb only turns black when moves=0. Of course, when a unit attacks, its moves also become 0 :) But, when you modify attacks_left to 0 by hand, moves don't become 0, so orb doesn't turn black.

Who is the speaker in the [message]? Can you please attach that code? :)