# Key Pressed
Grammar — Player player presses key key down|up/down with shift s2|Enabled, control c2|Enabled, alt a2|Enabled
Flags —Native
|Event
Only register for this event when you absolutely need it, as it will generate network traffic from all players for every button they press. This event fires when a player presses the specified key. Use “Key Pressed” to get the key that was pressed. Use “Alt Key Pressed”, “Control Key Pressed”, and “Shift Key Pressed” to find out what modifier keys were pressed.
# Arguments
int
— Playerint
<preset::Key> — Keybool
<preset::UpDownOption> — Downint
<preset::KeyModifierState> — Shiftint
<preset::KeyModifierState> — Controlint
<preset::KeyModifierState> — Alt
Returns — void
native void TriggerAddEventKeyPressed(
trigger t,
int player,
int key,
bool down,
int s,
int c,
int a,
);
# Event parameters
- Triggering Game User — EventGameUser
- Triggering Player — EventPlayer
- Key Pressed — EventKeyPressed
- Hotkey Pressed — EventHotkeyPressed
- Control Key Pressed — EventKeyControl
- Alt Key Pressed — EventKeyAlt
- Shift Key Pressed — EventKeyShift
# Related
Category: UI / Input
- Key Pressed —
void
— TriggerAddEventKeyPressed - Hotkey Pressed —
void
— TriggerAddEventHotkeyPressed - Button Pressed —
void
— TriggerAddEventButtonPressed - Mouse Clicked —
void
— TriggerAddEventMouseClicked - Mouse Moved —
void
— TriggerAddEventMouseMoved - Mouse Wheel —
void
— TriggerAddEventMouseWheel - Button Pressed —
string
<gamelink::Button> — EventButtonPressed - Key Pressed —
int
<preset::Key> — EventKeyPressed - Hotkey Pressed —
int
<preset::Key> — EventHotkeyPressed - Control Key Pressed —
bool
— EventKeyControl - Alt Key Pressed —
bool
— EventKeyAlt - Shift Key Pressed —
bool
— EventKeyShift - Mouse Clicked Button —
int
<preset::MouseButton> — EventMouseClickedButton - Mouse Clicked UI Pos X —
int
— EventMouseClickedPosXUI - Mouse Clicked UI Pos Y —
int
— EventMouseClickedPosYUI - Mouse Clicked World Pos X —
fixed
— EventMouseClickedPosXWorld - Mouse Clicked World Pos Y —
fixed
— EventMouseClickedPosYWorld - Mouse Clicked World Pos Z —
fixed
— EventMouseClickedPosZWorld - Mouse Moved UI Pos X —
int
— EventMouseMovedPosXUI - Mouse Moved UI Pos Y —
int
— EventMouseMovedPosYUI - Mouse Moved World Pos X —
fixed
— EventMouseMovedPosXWorld - Mouse Moved World Pos Y —
fixed
— EventMouseMovedPosYWorld - Mouse Moved World Pos Z —
fixed
— EventMouseMovedPosZWorld - Mouse Wheel Spin —
fixed
— EventMouseWheelSpin
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7477
void gt_FighterAttackKeyDown_Init () {
gt_FighterAttackKeyDown = TriggerCreate("gt_FighterAttackKeyDown_Func");
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keySpace, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keyNumPad0, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keyV, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7478
gt_FighterAttackKeyDown = TriggerCreate("gt_FighterAttackKeyDown_Func");
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keySpace, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keyNumPad0, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keyV, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7479
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keySpace, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keyNumPad0, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keyV, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7499
void gt_FighterAttackKeyUp_Init () {
gt_FighterAttackKeyUp = TriggerCreate("gt_FighterAttackKeyUp_Func");
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keySpace, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keyNumPad0, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keyV, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7500
gt_FighterAttackKeyUp = TriggerCreate("gt_FighterAttackKeyUp_Func");
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keySpace, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keyNumPad0, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keyV, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7501
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keySpace, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keyNumPad0, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keyV, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7568
void gt_FighterBombKeyDown_Init () {
gt_FighterBombKeyDown = TriggerCreate("gt_FighterBombKeyDown_Func");
TriggerAddEventKeyPressed(gt_FighterBombKeyDown, c_playerAny, c_keyControl, true, c_keyModifierStateExclude, c_keyModifierStateIgnore, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterBombKeyDown, c_playerAny, c_keyB, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7569
gt_FighterBombKeyDown = TriggerCreate("gt_FighterBombKeyDown_Func");
TriggerAddEventKeyPressed(gt_FighterBombKeyDown, c_playerAny, c_keyControl, true, c_keyModifierStateExclude, c_keyModifierStateIgnore, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterBombKeyDown, c_playerAny, c_keyB, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7588
void gt_FighterMoveLeftKeyDown_Init () {
gt_FighterMoveLeftKeyDown = TriggerCreate("gt_FighterMoveLeftKeyDown_Func");
TriggerAddEventKeyPressed(gt_FighterMoveLeftKeyDown, c_playerAny, c_keyLeft, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(gt_FighterMoveLeftKeyDown, c_playerAny, c_keyA, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7589
gt_FighterMoveLeftKeyDown = TriggerCreate("gt_FighterMoveLeftKeyDown_Func");
TriggerAddEventKeyPressed(gt_FighterMoveLeftKeyDown, c_playerAny, c_keyLeft, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(gt_FighterMoveLeftKeyDown, c_playerAny, c_keyA, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:15032
TriggerEnable(gt_PinboardItemBack, false);
TriggerAddEventMouseClicked(gt_PinboardItemBack, c_playerAny, c_mouseButtonNone, true);
TriggerAddEventKeyPressed(gt_PinboardItemBack, c_playerAny, c_keyNone, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:7477
void gt_FighterAttackKeyDown_Init () {
gt_FighterAttackKeyDown = TriggerCreate("gt_FighterAttackKeyDown_Func");
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keySpace, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keyNumPad0, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keyV, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:7478
gt_FighterAttackKeyDown = TriggerCreate("gt_FighterAttackKeyDown_Func");
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keySpace, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keyNumPad0, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keyV, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:7479
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keySpace, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keyNumPad0, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyDown, c_playerAny, c_keyV, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:7499
void gt_FighterAttackKeyUp_Init () {
gt_FighterAttackKeyUp = TriggerCreate("gt_FighterAttackKeyUp_Func");
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keySpace, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keyNumPad0, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keyV, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:7500
gt_FighterAttackKeyUp = TriggerCreate("gt_FighterAttackKeyUp_Func");
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keySpace, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keyNumPad0, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keyV, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:7501
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keySpace, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keyNumPad0, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterAttackKeyUp, c_playerAny, c_keyV, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:7568
void gt_FighterBombKeyDown_Init () {
gt_FighterBombKeyDown = TriggerCreate("gt_FighterBombKeyDown_Func");
TriggerAddEventKeyPressed(gt_FighterBombKeyDown, c_playerAny, c_keyControl, true, c_keyModifierStateExclude, c_keyModifierStateIgnore, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterBombKeyDown, c_playerAny, c_keyB, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:7569
gt_FighterBombKeyDown = TriggerCreate("gt_FighterBombKeyDown_Func");
TriggerAddEventKeyPressed(gt_FighterBombKeyDown, c_playerAny, c_keyControl, true, c_keyModifierStateExclude, c_keyModifierStateIgnore, c_keyModifierStateExclude);
TriggerAddEventKeyPressed(gt_FighterBombKeyDown, c_playerAny, c_keyB, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:7588
void gt_FighterMoveLeftKeyDown_Init () {
gt_FighterMoveLeftKeyDown = TriggerCreate("gt_FighterMoveLeftKeyDown_Func");
TriggerAddEventKeyPressed(gt_FighterMoveLeftKeyDown, c_playerAny, c_keyLeft, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(gt_FighterMoveLeftKeyDown, c_playerAny, c_keyA, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:7589
gt_FighterMoveLeftKeyDown = TriggerCreate("gt_FighterMoveLeftKeyDown_Func");
TriggerAddEventKeyPressed(gt_FighterMoveLeftKeyDown, c_playerAny, c_keyLeft, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(gt_FighterMoveLeftKeyDown, c_playerAny, c_keyA, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:15032
TriggerEnable(gt_PinboardItemBack, false);
TriggerAddEventMouseClicked(gt_PinboardItemBack, c_playerAny, c_mouseButtonNone, true);
TriggerAddEventKeyPressed(gt_PinboardItemBack, c_playerAny, c_keyNone, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:4262
void gt_CenterOnHyperion_Init () {
gt_CenterOnHyperion = TriggerCreate("gt_CenterOnHyperion_Func");
TriggerAddEventKeyPressed(gt_CenterOnHyperion, gv_pLAYER_01_USER, c_keySpace, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:4262
void gt_CenterOnHyperion_Init () {
gt_CenterOnHyperion = TriggerCreate("gt_CenterOnHyperion_Func");
TriggerAddEventKeyPressed(gt_CenterOnHyperion, gv_pLAYER_01_USER, c_keySpace, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6711
libVCMI_gt_PM_TurnOffFlyoverMode = TriggerCreate("libVCMI_gt_PM_TurnOffFlyoverMode_Func");
TriggerEnable(libVCMI_gt_PM_TurnOffFlyoverMode, false);
TriggerAddEventKeyPressed(libVCMI_gt_PM_TurnOffFlyoverMode, c_playerAny, c_keyB, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:10449
libVCUI_gt_PU_LoreCreditsSkip = TriggerCreate("libVCUI_gt_PU_LoreCreditsSkip_Func");
TriggerEnable(libVCUI_gt_PU_LoreCreditsSkip, false);
TriggerAddEventKeyPressed(libVCUI_gt_PU_LoreCreditsSkip, c_playerAny, c_keyEscape, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1035
void lib6CB3363F_gt_SprintPressed_Init () {
lib6CB3363F_gt_SprintPressed = TriggerCreate("lib6CB3363F_gt_SprintPressed_Func");
TriggerAddEventKeyPressed(lib6CB3363F_gt_SprintPressed, c_playerAny, c_keyShift, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_SprintPressed, c_playerAny, c_keyNumPad0, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1036
lib6CB3363F_gt_SprintPressed = TriggerCreate("lib6CB3363F_gt_SprintPressed_Func");
TriggerAddEventKeyPressed(lib6CB3363F_gt_SprintPressed, c_playerAny, c_keyShift, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_SprintPressed, c_playerAny, c_keyNumPad0, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1055
void lib6CB3363F_gt_SprintReleased_Init () {
lib6CB3363F_gt_SprintReleased = TriggerCreate("lib6CB3363F_gt_SprintReleased_Func");
TriggerAddEventKeyPressed(lib6CB3363F_gt_SprintReleased, c_playerAny, c_keyShift, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_SprintReleased, c_playerAny, c_keyNumPad0, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1056
lib6CB3363F_gt_SprintReleased = TriggerCreate("lib6CB3363F_gt_SprintReleased_Func");
TriggerAddEventKeyPressed(lib6CB3363F_gt_SprintReleased, c_playerAny, c_keyShift, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_SprintReleased, c_playerAny, c_keyNumPad0, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1087
void lib6CB3363F_gt_UpPressed_Init () {
lib6CB3363F_gt_UpPressed = TriggerCreate("lib6CB3363F_gt_UpPressed_Func");
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpPressed, c_playerAny, c_keyW, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpPressed, c_playerAny, c_keyUp, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpPressed, c_playerAny, c_keyNumPad8, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1088
lib6CB3363F_gt_UpPressed = TriggerCreate("lib6CB3363F_gt_UpPressed_Func");
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpPressed, c_playerAny, c_keyW, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpPressed, c_playerAny, c_keyUp, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpPressed, c_playerAny, c_keyNumPad8, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1089
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpPressed, c_playerAny, c_keyW, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpPressed, c_playerAny, c_keyUp, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpPressed, c_playerAny, c_keyNumPad8, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1108
void lib6CB3363F_gt_UpReleased_Init () {
lib6CB3363F_gt_UpReleased = TriggerCreate("lib6CB3363F_gt_UpReleased_Func");
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpReleased, c_playerAny, c_keyW, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpReleased, c_playerAny, c_keyUp, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpReleased, c_playerAny, c_keyNumPad8, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1109
lib6CB3363F_gt_UpReleased = TriggerCreate("lib6CB3363F_gt_UpReleased_Func");
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpReleased, c_playerAny, c_keyW, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpReleased, c_playerAny, c_keyUp, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpReleased, c_playerAny, c_keyNumPad8, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1110
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpReleased, c_playerAny, c_keyW, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpReleased, c_playerAny, c_keyUp, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(lib6CB3363F_gt_UpReleased, c_playerAny, c_keyNumPad8, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod — base.stormdata/LibPVEB.galaxy:3032
libPVEB_gt_DebugPlayerSelection = TriggerCreate("libPVEB_gt_DebugPlayerSelection_Func");
TriggerEnable(libPVEB_gt_DebugPlayerSelection, false);
TriggerAddEventKeyPressed(libPVEB_gt_DebugPlayerSelection, c_playerAny, c_keyNone, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEM.galaxy:3120
libPVEM_gt_PvEDebugPlayerSelection = TriggerCreate("libPVEM_gt_PvEDebugPlayerSelection_Func");
TriggerEnable(libPVEM_gt_PvEDebugPlayerSelection, false);
TriggerAddEventKeyPressed(libPVEM_gt_PvEDebugPlayerSelection, c_playerAny, c_keyNone, false, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateExclude);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:3026
libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed = TriggerCreate("libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed_Func");
TriggerEnable(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, false);
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyQ, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyW, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyE, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:3027
TriggerEnable(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, false);
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyQ, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyW, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyE, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyR, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:3028
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyQ, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyW, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyE, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyR, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:3029
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyW, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyE, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
TriggerAddEventKeyPressed(libStEx_gt_SE_TrainingModeTipAbilitiesQWERUsed, c_playerAny, c_keyR, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateIgnore);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:8498
libSprt_gt_DEBUGClearDPSTrackerStats = TriggerCreate("libSprt_gt_DEBUGClearDPSTrackerStats_Func");
TriggerAddEventChatMessage(libSprt_gt_DEBUGClearDPSTrackerStats, c_playerAny, "-dpsclear", true);
TriggerAddEventKeyPressed(libSprt_gt_DEBUGClearDPSTrackerStats, c_playerAny, c_keyNumPad5, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:13724
void libUIUI_gt_InputBackslashKeyDown_Init () {
libUIUI_gt_InputBackslashKeyDown = TriggerCreate("libUIUI_gt_InputBackslashKeyDown_Func");
TriggerAddEventKeyPressed(libUIUI_gt_InputBackslashKeyDown, c_playerAny, c_keyBackSlash, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:14871
libUIUI_gt_UIOnFireDEBUGCycleDefenseOnFire = TriggerCreate("libUIUI_gt_UIOnFireDEBUGCycleDefenseOnFire_Func");
TriggerEnable(libUIUI_gt_UIOnFireDEBUGCycleDefenseOnFire, false);
TriggerAddEventKeyPressed(libUIUI_gt_UIOnFireDEBUGCycleDefenseOnFire, c_playerAny, c_keyI, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:14937
libUIUI_gt_UIOnFireDEBUGCycleOffenseOnFire = TriggerCreate("libUIUI_gt_UIOnFireDEBUGCycleOffenseOnFire_Func");
TriggerEnable(libUIUI_gt_UIOnFireDEBUGCycleOffenseOnFire, false);
TriggerAddEventKeyPressed(libUIUI_gt_UIOnFireDEBUGCycleOffenseOnFire, c_playerAny, c_keyO, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:15003
libUIUI_gt_UIOnFireDEBUGCycleUtilityOnFire = TriggerCreate("libUIUI_gt_UIOnFireDEBUGCycleUtilityOnFire_Func");
TriggerEnable(libUIUI_gt_UIOnFireDEBUGCycleUtilityOnFire, false);
TriggerAddEventKeyPressed(libUIUI_gt_UIOnFireDEBUGCycleUtilityOnFire, c_playerAny, c_keyP, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:5829
libNCMI_gt_NM_TurnOffFlyoverMode = TriggerCreate("libNCMI_gt_NM_TurnOffFlyoverMode_Func");
TriggerEnable(libNCMI_gt_NM_TurnOffFlyoverMode, false);
TriggerAddEventKeyPressed(libNCMI_gt_NM_TurnOffFlyoverMode, c_playerAny, c_keyB, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:5310
libNCUI_gt_NU_MissionEscPressed = TriggerCreate("libNCUI_gt_NU_MissionEscPressed_Func");
TriggerEnable(libNCUI_gt_NU_MissionEscPressed, false);
TriggerAddEventKeyPressed(libNCUI_gt_NU_MissionEscPressed, c_playerAny, c_keyEscape, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:5548
libNCUI_gt_NU_MissionNewsCanceledESC = TriggerCreate("libNCUI_gt_NU_MissionNewsCanceledESC_Func");
TriggerEnable(libNCUI_gt_NU_MissionNewsCanceledESC, false);
TriggerAddEventKeyPressed(libNCUI_gt_NU_MissionNewsCanceledESC, c_playerAny, c_keyEscape, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:7377
TriggerEnable(libNCUI_gt_NU_EndCreditsEnds, false);
TriggerAddEventGameCreditsFinished(libNCUI_gt_NU_EndCreditsEnds, c_playerAny);
TriggerAddEventKeyPressed(libNCUI_gt_NU_EndCreditsEnds, c_playerAny, c_keyEscape, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nstory01.sc2map/MapScript.galaxy:436
gt_StorySoFarAnyButtonPressed = TriggerCreate("gt_StorySoFarAnyButtonPressed_Func");
TriggerEnable(gt_StorySoFarAnyButtonPressed, false);
TriggerAddEventKeyPressed(gt_StorySoFarAnyButtonPressed, c_playerAny, c_keyNone, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventMouseClicked(gt_StorySoFarAnyButtonPressed, c_playerAny, c_mouseButtonNone, false);
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nstory01.sc2map — MapScript.galaxy:436
gt_StorySoFarAnyButtonPressed = TriggerCreate("gt_StorySoFarAnyButtonPressed_Func");
TriggerEnable(gt_StorySoFarAnyButtonPressed, false);
TriggerAddEventKeyPressed(gt_StorySoFarAnyButtonPressed, c_playerAny, c_keyNone, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
TriggerAddEventMouseClicked(gt_StorySoFarAnyButtonPressed, c_playerAny, c_mouseButtonNone, false);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:7070
libCOUI_gt_CU_MasteryShiftTrackDown = TriggerCreate("libCOUI_gt_CU_MasteryShiftTrackDown_Func");
TriggerEnable(libCOUI_gt_CU_MasteryShiftTrackDown, false);
TriggerAddEventKeyPressed(libCOUI_gt_CU_MasteryShiftTrackDown, c_playerAny, c_keyShift, true, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:7091
libCOUI_gt_CU_MasteryShiftTrackUp = TriggerCreate("libCOUI_gt_CU_MasteryShiftTrackUp_Func");
TriggerEnable(libCOUI_gt_CU_MasteryShiftTrackUp, false);
TriggerAddEventKeyPressed(libCOUI_gt_CU_MasteryShiftTrackUp, c_playerAny, c_keyShift, false, c_keyModifierStateIgnore, c_keyModifierStateIgnore, c_keyModifierStateIgnore);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:9738
libCOUI_gt_CU_MinimapAllyViewCamera = TriggerCreate("libCOUI_gt_CU_MinimapAllyViewCamera_Func");
TriggerEnable(libCOUI_gt_CU_MinimapAllyViewCamera, false);
TriggerAddEventKeyPressed(libCOUI_gt_CU_MinimapAllyViewCamera, c_playerAny, c_keyV, true, c_keyModifierStateExclude, c_keyModifierStateExclude, c_keyModifierStateRequire);
}