URL:
<http://gna.org/patch/?1836>
Summary: move_unit tag
Project: Battle for Wesnoth
Submitted by: anonymissimus
Submitted on: Dienstag 10.08.2010 um 02:15
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
syntax:
[move_unit]
side=$this_unit.side # SUF keys
to_x=$one|,2,3
to_y=10,1,1
[/move_unit]
(MODIFY_UNIT can't move several units at once and doesn't accept ranges of
coordinates (intermediate steps))
Also fixes som problems of MODIFY_UNIT:
-the unit image will move to the occupied location and then jump to the free
hex,
-the free hex will not be analyzed for suitable terrain and
-trying to move a unit that doesn't exist (but could, because it has been
killed) will cause an error.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Dienstag 10.08.2010 um 02:15 Name: move_unit.patch Size: 2kB By:
anonymissimus
<http://gna.org/patch/download.php?file_id=9767>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1836>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs