Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Triggers/Events/Cheat Used

From SC2Mapster Wiki
Jump to: navigation, search

Game-Chat And Console

Cheat Used


Game - Player p uses type cheat code.

Galaxy Code

void TriggerAddEventCheatUsed (trigger t,int player,int inCheat)


This event fires when the specified player uses the specified cheat. Use "Cheat Type Used" to get the cheat that was used.


  • trigger t
  • int p
    • Name: Player
    • Limits: -1,15
  • preset type
    • Preset: [[Triggers/Presets/Game Cheat Type|Game Cheat Type
    • Name: Type