Mainlined macro FAKE_UNIT_MOVE which replaces [move_unit_fake] codeblocks.

This commit is contained in:
Steven Panek 2008-11-07 04:43:34 +00:00
parent 1e6a01c9d4
commit 19b909caf6

View file

@ -156,3 +156,26 @@ Gg , Gg , Gg , Gg
[/if]
[/event]
#enddef
#define FAKE_UNIT_MOVE XS XD YS YD SIDE TYPE MODIFIER
# Example:
# {FAKE_UNIT_MOVE 1 2 1 2 1 Demon (gender=female variation=uberpowerful)}
# The S in XS and YS mean "start".
# The D in XD and YD mean "destination".
# The 1 in the example is the side the unit will belong to and whatnot. This value just determines which team coloring to use.
# In the example "Demon" is the unit the macro will grab the image from and whatnot.
# If you want the image used to be the female of the specified unit use "gender=female"
# If you want a the image belonging to a specific to be used then use "variation=foobar". Foobar would be replaced with
# the actual variation name of course.
# If you want to specify both a gender and a variation then be sure to enclose them in parenthesis like this:
# (gender=female variation=foobar)
# Please note... if you do not want to specify a gender or variation please use "()" so Wesnoth does not complain about
# enough arguments.
[move_unit_fake]
type={TYPE}
side={SIDE}
x={XS},{XD}
y={YS},{YD}
{MODIFIER}
[/move_unit_fake]
#enddef