is append option to message possible?
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.
is append option to message possible?
hoy there, i am wondering if there is possibility to append aditionall option to existing [message] tag in [set_menu_item][command], by action language in event etc. Only solution i figured out is to have multiple options prepared that show only if conditions are met, but i am using message dialog as menu for some spells and i want a possibility to learn unit new spells via amla, events or menu items. Any ideas? thanks ;]
- Pentarctagon
- Project Manager
- Posts: 5599
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: is append option to message possible?
You can use [insert_tag] for this to dynamically create options based on the content of the array you provide it.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: is append option to message possible?
thank you, works perfectly :]