Warcraft 3 documentation
vJASS & Zinc Documentation
For the latest documentation about how it works vJASS and Zinc language layers for Warcraft III, please follow these links:
Jasshelper documentation - Zinc documentation - WC3 Optimizer documentation
This topic is the discussión abut the function BlzGetTriggerPlayerMetaKey. You can see all the information about this function keyword HERE.

[functions] BlzGetTriggerPlayerMetaKey No New Posts Jassdoc

Started by

0 Members and 1 Guest are viewing this topic.

[functions] BlzGetTriggerPlayerMetaKey
on: April 17, 2022, 04:53:29 PM

Returns the meta keys that were pressed (aka modifier keys).

Example: if player pressed CTRL+W then metakey=2 and oskeytype=OSKEY_W

Meta keys:
0 = None
1 = Shift
2 = Control (CTRL)
4 = ALT
8 = Meta aka Windows key aka Super

Meta keys can be pressed simultaneously (CTRL+SHIFT+W) in that case, you need to add the numbers or use bit OR/AND/XOR.
CTRL+SHIFT = 2+1 = 3. CTRL+SHIFT+ALT = 2+1+4 = 7.

See: BlzTriggerRegisterPlayerKeyEvent


Started by moyack

Replies: 3
Views: 4233

Started by Jedi

Replies: 5
Views: 14820
General Jass Discussion

Started by moyack

Replies: 40
Views: 58679
Jass Theory & Questions

Started by moyack

Replies: 0
Views: 658

Started by moyack

Replies: 0
Views: 649
Vivir aprendiendo.co - A place for learning stuff, in Spanish   Chaos Realm - The world of Game modders and wc3 addicts   Diplo, a gaming community   Power of Corruption, an altered melee featuring Naga and Demon. Play it now!!!   WC3JASS.com - The JASS Vault + vJASS and Zinc   Jetcraft - A Starcraft II mod   WormTastic Clan (wTc)   Warcraft RESOURCES Reforged: Modelos, mapas, proyectos y mas...