T: dropped variable usage in LABEL and PRINT
This commit is contained in:
parent
c8756ca92c
commit
d2fdcefbcb
1 changed files with 4 additions and 12 deletions
|
@ -1,15 +1,12 @@
|
|||
#textdomain wesnoth-tutorial
|
||||
|
||||
#define LABEL STRING POSITION
|
||||
[set_variable]
|
||||
name=label_string
|
||||
value={STRING}
|
||||
[/set_variable]
|
||||
[label]
|
||||
x,y={POSITION}
|
||||
text=$label_string
|
||||
text={STRING}
|
||||
[/label]
|
||||
{CLEAR_VARIABLE label_string}
|
||||
#enddef
|
||||
|
||||
#define UNLABEL POSITION
|
||||
[label]
|
||||
x,y={POSITION}
|
||||
|
@ -18,17 +15,12 @@
|
|||
#enddef
|
||||
|
||||
#define PRINT STRING
|
||||
[set_variable]
|
||||
name=print_string
|
||||
value={STRING}
|
||||
[/set_variable]
|
||||
[print]
|
||||
text=$print_string
|
||||
text={STRING}
|
||||
size=18
|
||||
duration=10000
|
||||
red,green,blue=255,255,255
|
||||
[/print]
|
||||
{CLEAR_VARIABLE print_string}
|
||||
#enddef
|
||||
|
||||
#define CLEAR_PRINT
|
||||
|
|
Loading…
Add table
Reference in a new issue