Cheat

Parameters
cheatStr string

The cheat to enter.

comment

Applies the specified cheat, but only if the game is single player. There are a few cheats that can be toggled on or off. If the cheat is enabled, entering the cheat again will disable it. If the cheat is disabled, entering the cheat will enable it again. Upon entering, the text "Cheat Enabled!" will be displayed.

note

For a list of all cheats see http://classic.battle.net/war3/cheatcodes.shtml.

patch

1.00

return type
nothing
Source code
native Cheat            takes string cheatStr returns nothing
Source
common.j
wc3modding.com
Cheat