The clear_comms_button mission scripting command removes a button from all relevant Comms consoles. (set_comms_button, clear_comms_button, and if_comms_button let you add special buttons to the Comms console, and trigger events based on the Comms officer clicking those buttons.)
Attribute |
Valid Values |
Optional? |
Description |
text |
text |
|
Name of existing button. Use the exact text you used to create the button with set_comms_button. |
sideValue |
non-negative integer 0 = all sides 1 = enemy (normally) 2+ = player side (normally) |
Optional |
default = 0 |
player_slot | 0-7 | Optional | Only present in 2.7.99, not before and not in 2.8 |