the [have_unit] tag
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.
the [have_unit] tag
I'm trying to write something in wml and I'm fascinated of this simple structures. But I didn't find something about the syntax of the [have_unit] tag and so I don't know how to use it and the [filter_adjacent] tag (I found it on http://wiki.wesnoth.org/WML_Abilities ). I tried to integrate s.th. like this in my scenario, but it doesn't work:
Thank you for your answers!
Ebef
Edit: I hope this is the right forum - if not move please.
Code: Select all
[have_unit]
side=1
type={White Mage,Mage of Light}
[/have_unit]
Thank you for your answers!
Ebef
Edit: I hope this is the right forum - if not move please.
- Ken_Oh
- Moderator Emeritus
- Posts: 2178
- Joined: February 6th, 2006, 4:03 am
- Location: Baltimore, Maryland, USA
Re: the [have_unit] tag
This line doesn't make any sense:
type={White Mage,Mage of Light}
{SOMETHING} means you're trying to call a macro, so take the { and } out.
This is the right forum, so you're OK.
type={White Mage,Mage of Light}
{SOMETHING} means you're trying to call a macro, so take the { and } out.
This is the right forum, so you're OK.
Re: the [have_unit] tag
That was the problem...without the { }...thank you!
Ebef
Ebef