Bitfield. MetaKeys are "none"(0), "shift"(1), "control"(2), "alt"(4) and "META"(8) (windows key). They can be combined 2 + 4 = 6. The player needs to holds this metakeys to trigger the event. Inside the OnPress of a Metakey like OSKEY_LSHIFT the shift bit is set.
(true) OnPress. In V1.31.1 This happens once, In V1.32.10 repeats until released (false) OnRelease
- return type
- Source code
native BlzTriggerRegisterPlayerKeyEvent takes trigger whichTrigger, player whichPlayer, oskeytype key, integer metaKey, boolean keyDown returns event