LoW: Debug helper stuff.

This commit is contained in:
Fabian Müller 2014-10-24 18:16:57 +02:00
parent 078c1522f7
commit 07d32fdb33

View file

@ -0,0 +1,53 @@
[event]
name=prestart
[set_menu_item]
id=debug_kill
description= "Kill Unit"
[filter_location]
[filter]
[/filter]
[/filter_location]
[command]
[kill]
fire_event=yes
x=$x1
y=$y1
[/kill]
[/command]
[/set_menu_item]
[set_menu_item]
id=debug_next
description="Next Scenario"
[command]
[endlevel]
result=victory
[/endlevel]
[/command]
[/set_menu_item]
[set_menu_item]
id=debug_move
description= "Move Unit"
needs_select=yes
#[filter_location]
# [filter]
# [/filter]
#[/filter_location]
[command]
{MOVE_UNIT x,y=$selected_move_unit_x,$selected_move_unit_y $x1 $y1}
[/command]
[/set_menu_item]
[/event]
[event]
name=select
first_time_only=no
{VARIABLE selected_move_unit_x $x1}
{VARIABLE selected_move_unit_y $y1}
[/event]