can you store_label?

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
vghetto
Posts: 755
Joined: November 2nd, 2019, 5:12 pm

can you store_label?

Post by vghetto »

I've had a couple of persons assuming that a user placed [label] done with alt+l during the game can be carried over from scenario to scenario.
Is it possible to store all labels of a given map in order to use them in the next scenario, regardless if they were placed by WML or by the player during the game?
User avatar
Ravana
Forum Moderator
Posts: 3002
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: can you store_label?

Post by Ravana »

No.
User avatar
Heindal
Posts: 1357
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: can you store_label?

Post by Heindal »

You could however save them in variables and them place them again in the next scenario.
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical, UR Epic Era
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses, Dwarf Dwarfson Dwarvenminer
User avatar
Ravana
Forum Moderator
Posts: 3002
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: can you store_label?

Post by Ravana »

It is possible to intercept [label] call, but not when player adds label.
Post Reply