The set_gm_button mission scripting command adds a button to the GM console. (set_gm_button, clear_gm_button, and if_gm_button let you add graphical buttons to the GM console, and trigger events based on the GM clicking those buttons.)
Attribute
|
Valid Values
|
Optional?
|
Description
|
text
|
text
|
|
Name of button. If this button doesn’t have a position set, it's a menu button, and can have sub-menus by adding / character to this text, such as "Create Enemy/Extras/Minefield arc".
|
x
|
1-1000
|
|
These four attributes allow you to define the exact position and size of the button on the GM client screen.
|
y
|
1-1000
|
|
w
|
1-1000
|
|
h
|
1-1000
|
|
menu_w
|
1-1000
|
|
This attribute will set the pixel width of every menu button.
|
Comments (0)
You don't have permission to comment on this page.