Triggers/Events/Cheat Used

From SC2Mapster Wiki
Jump to: navigation, search

Game-Chat And Console

Cheat Used

GUI

Game - Player p uses type cheat code.

Galaxy Code

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

Description

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

Parameters

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