| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Finally, you can manage your Google Docs, uploads, and email attachments (plus Dropbox and Slack files) in one convenient place. Claim a free account, and in less than 2 minutes, Dokkio (from the makers of PBworks) can automatically organize your content for you.

View
 

if_gm_key

Page history last edited by RyleyRA 2 years, 1 month ago

The if_gm_key mission scripting condition triggers when a key is pressed on a game master console. As noted, when monitoring for a letter key, the keyText attribute should be specified as uppercase. SHIFT+letter keypresses must be detected as a sequence of scan codes, and so should be avoided.

 

Unlike client keys, GM keybinds are very reliable, but if_gm_button is still considered the superior option for GM input. A keybind such as "M" is often used as an emergency shortcut to allow the GM to refresh his menu.

 

Attribute

Valid Values

Optional?

Description

keyText

text, single letter (usually upper case)

you only need to use one, either keyText OR value

 

value

0-128 (raw key scan code)

 

 

Comments (0)

You don't have permission to comment on this page.