Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 1984

WML Workshop • Re: check_passability for [modify_unit]?

$
0
0
OK, you're right. I missed that you could do that. Still, the [modify_unit] tag is not made for moving the unit, so it doesn't make a lot of sense for it to check the terrain. You should do your other modifications with [modify_unit], then use something else to move the unit. You could use [teleport] (you can turn off the animation) or [move_unit]. Both of those do have passability checks because they are made for moving the unit.

Statistics: Posted by beetlenaut — Today, 8:41 pm



Viewing all articles
Browse latest Browse all 1984

Trending Articles