I disabled "iseedeadpeople" and "whosyourdaddy" in my map. I learned this trick from Aeroblyctos and his single player campaign.
Also, cheatcodes can't be detected with "Player 1 (red) types a chat message containing iseedeadpeople/greedisgood ###... as An exact mach". I tried.
-Create 3 invisible units for the
Neutral-Passive Player, 2 of them will have the
Locust ability.
-Create a Boolean Variable called
CinematicMode
-One of the 2 units with
Locust will be called
DeadPeople
-Hide
DeadPeople in a place where the main player shouldn't see it
-Every time you turn on the cinematic mode, turn on
CinematicMode. Every time you turn off the cinematic mode, turn off
CinematicMode.
-Create this trigger:
-
Dont look at DeadPeople
-
Events
-
Time - Every 2.00 seconds of game time
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(DeadPeople 0132 <gen> is visible to Player (Red)) Equal to True
-
CinematicMode Equal to FALSE
-
Then - Actions
-
Game - Really Bad Thing and Message which tells you that Cheats are bad
-now
USING ISEEDEADPEOPLE ISN'T A GOOD IDEA in your map
-now call The other unit with
Locust WhosMydaddy?
-the remaining unit doesn't have the
Locust ability. Call it
IAmYourDaddy.
-
WhosMydaddy? should belong to the main player (the guy who mustn't use cheats, usually
Red).
-
IAmYourDaddy should belong to an enemy of the main player.
Neutral-Hostile is fine.
-Both these units should be hidden somewhere in the map, together. As the map starts,
WhosMydaddy? will start attacking
IAmYourDaddy.
-
IAmYourDaddy has a decent life and a good regeneration rate.
WhosMydaddy? Can't kill it, because it has the same attack as a peon.
WhosMydaddy? will spend its miserable life attacking
IAmYourDaddy, without prevailing.
-Now create this easy trigger
-
DontAskForYourDaddy
-
Events
-
Unit - IAmYourDaddy 0156 <gen> Is Dead
-
Conditions
-
Actions
-
Game - Really Bad Thing and Message which tells you that Cheats are bad
-Now if the main player writes "whosyourdaddy"
IAmYourDaddy will die under the slashes of the invisible and Locustous
WhosMydaddy? activating the trigger and the horrible consequences.
-now
USING WHOSYOURDADDY ISN'T A GOOD IDEA in your map