URL:
<http://gna.org/bugs/?12565>
Summary: Make MOVE_UNIT work for paths
Project: Battle for Wesnoth
Submitted by: None
Submitted on: Montag 03.11.2008 um 13:37 CET
Category: Feature Request
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email: [EMAIL PROTECTED]
Open/Closed: Open
Discussion Lock: Any
Release: 1.5
Operating System: any
_______________________________________________________
Details:
At the moment the macro MOVE_UNIT in data/core/macros/utils.cfg works
correctly only if coordinates are specified as TO_X and TO_Y. If a path is
given, the unit will move correctly but jump back to the first point in the
path at the end of its movement. MOVE_UNIT should be changed to place the
unit at the last point in the path at the end of the movement.
WML in v1.4.x can't do this without changes to MOVE_UNIT's parametres, but
v1.5.x provides [set_variables][split][/split][/set_variables] which can be
used to parse the path.
(In v1.4.x, MOVE_UNIT can be used multiple times to simulate movement along a
path but there will be short pauses in movement at each coordinate)
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?12565>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs