LoW: Debug helper stuff.
This commit is contained in:
parent
078c1522f7
commit
07d32fdb33
1 changed files with 53 additions and 0 deletions
53
data/campaigns/Legend_of_Wesmere/utils/debug.cfg
Normal file
53
data/campaigns/Legend_of_Wesmere/utils/debug.cfg
Normal 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]
|
Loading…
Add table
Reference in a new issue