Search found 598 matches

by Spannerbag
Today, 8:13 am
Forum: Forum Games
Topic: Word association
Replies: 240
Views: 119851

Re: Word association

bean
by Spannerbag
Yesterday, 12:23 am
Forum: WML Workshop
Topic: fire event in teleport
Replies: 8
Views: 252

Re: fire event in teleport

hermestrismi wrote: May 8th, 2024, 3:55 pm Thank you very much.
this seems to be more logic and straight than my approach. I will test it as soon as possible and I will give you my result.
Glad to have been able to help! :D

Cheers!
-- Spannerbag
by Spannerbag
May 8th, 2024, 1:47 pm
Forum: WML Workshop
Topic: fire event in teleport
Replies: 8
Views: 252

Re: fire event in teleport

Hi, Your post intrigued me so I had a bit of a play, building on the suggestion by Ravana. This code isn't perfect, it might need [allow_undo] or maybe [cancel_action] but from my limited testing it does seem to trap teleports and filter out non-teleport movement. Anyway, it should at least give you...
by Spannerbag
May 7th, 2024, 10:41 am
Forum: WML Workshop
Topic: Annoying error: <lua> Repeated [endlevel] execution, ignored
Replies: 4
Views: 178

Re: Annoying error: <lua> Repeated [endlevel] execution, ignored

lhybrideur wrote: May 7th, 2024, 7:00 am The horrible way I did...
Yep, similar concept/logic.
Great minds... :)

Cheers!
-- Spannerbag
by Spannerbag
May 6th, 2024, 7:14 pm
Forum: WML Workshop
Topic: Annoying error: <lua> Repeated [endlevel] execution, ignored
Replies: 4
Views: 178

[RESOLVED]<lua> Repeated [endlevel] execution, ignored

[fire_event] the [endlevel] call, but have the event containing [end_level] first_time_only=yes. Thanks for the reply, much appreciated! Heh, was just going to post to say I'd fixed it; as often happens right after posting, I had a bit of inspiration. Wish I had it before posting... :annoyed: The d...
by Spannerbag
May 6th, 2024, 6:44 pm
Forum: WML Workshop
Topic: Annoying error: <lua> Repeated [endlevel] execution, ignored
Replies: 4
Views: 178

Annoying error: <lua> Repeated [endlevel] execution, ignored

Hi, I have a situation where a number of units may be [kill] ed simultaneously. [kill] [filter_location] find_in=fb [/filter_location] animate=yes fire_event=yes # Player loses if leader killed [primary_attack] type=fire [/primary_attack] [/kill] The scenario also has multiple leaders and if any lea...
by Spannerbag
May 6th, 2024, 4:20 pm
Forum: Ideas
Topic: [UMC] Some abilities and weapon special ideas
Replies: 4
Views: 244

Re: [UMC] Some abilities and weapon special ideas

Below I have listed some hopefully KISS abilities and weapon special that would be cool.... FWIW I've seen quite a few variants of your ideas are in various UMC campaigns and there are different ways of implementing similar effects. E.g. similar outcomes to Fortify could be obtained by either incre...
by Spannerbag
May 5th, 2024, 10:20 am
Forum: Forum Games
Topic: Word association
Replies: 240
Views: 119851

Re: Word association

Ida
by Spannerbag
May 5th, 2024, 12:26 am
Forum: Lua Labs
Topic: Global variables begginer guide
Replies: 7
Views: 256

Re: Global varialbes begginer guide

Sorry to be dim, but are you saying that this code: [set_variable] name=game_number value=starting_value_string [/set_variable] [set_global_variable] namespace=Bandits_from_Brown_Hills from_local=game_number to_global=loads.1.1.1 side=1 immediate=yes [/set_global_variable] produced this output: [var...
by Spannerbag
May 4th, 2024, 5:15 pm
Forum: Lua Labs
Topic: Global variables begginer guide
Replies: 7
Views: 256

Re: Global varialbes begginer guide

Hi I'm working with persistent variables in Wesnoth for the very first time... Same here, used them in an update to one of my campaigns. :? Here are macros I used to manipulate them (I didn't need one to clear a persistent variable). Note that persistent variables need a namespace. Persistent varia...
by Spannerbag
April 29th, 2024, 5:24 pm
Forum: Art Contributions
Topic: Call for mainline portraits and story art
Replies: 14
Views: 4169

Re: Call for mainline portraits and story art

5 portraits Female Captain (Mari) I know we are cutting Minister Hylas from TSG, but wouldn't it be a better use of resources to have Minister Hylas take on the role of 'Captain Mari' rather than commission a brand new portrait and unit type when Minister Hylas already has an extremely high-quality...
by Spannerbag
April 25th, 2024, 3:17 pm
Forum: WML Workshop
Topic: sound_source clarification
Replies: 2
Views: 232

Re: sound_source clarification

...You could try resetting the sound source whenever a unit moves. I would expect that to restart the sound from the beginning... Thanks for the reply, I think when I get to a point where I can actually test this, I'll do some experimenting (now I know there's a chance). Be awhile tho', have to get...
by Spannerbag
April 25th, 2024, 12:41 pm
Forum: WML Workshop
Topic: sound_source clarification
Replies: 2
Views: 232

sound_source clarification

Hi, I've never used this and thought I'd ask here before totally messing it up experimenting myself. Am I right in believing that [sound_source] sounds come and go depending on which area of the map the player is viewing? So if the player scrolls/clicks further away from a sound source the volume wi...
by Spannerbag
April 16th, 2024, 9:33 am
Forum: Technical Support
Topic: Add-on and game crashes when terrain has more than 4 digits
Replies: 8
Views: 795

Re: Add-on and game crashes when terrain has more than 4 digits

Can you provide detailed reproduction steps? I cannot get the game to crash with a map with a terrain with more than 4 characters or when defining a terrain type with more than 4 characters. (Both of those cases show an error in the GUI for me.) Bit hazy here as it was ages ago but I had a similar ...
by Spannerbag
April 15th, 2024, 1:17 pm
Forum: Lua Labs
Topic: Working lua need advice deciding which method is best
Replies: 34
Views: 1921

Re: Working lua need advice deciding which method is best

Correct. Note that putting Lua in an event doesn't fully isolate it from the rest of the scenario though. It will only be executed when that event fires, but that code can change global variables, move units around, and do many other things that affect code running elsewhere in the scenario. On the...