Steel
Software Engineer
- Reaction score
- 109
This is something that can be useful for people who want to disallow players to play their map in Singleplayer mode, meaning you can use cheats like, 'iseedeadpeople', whosyourdaddy', etc...
BUT! You can play a map solo on battle.net if you choose. It uses a simple gamecache trick. Don't know if this is worthy of being listed here, but I figured it might be fun for some people.
If someone already has something like this posted then graveyard this.
BUT! You can play a map solo on battle.net if you choose. It uses a simple gamecache trick. Don't know if this is worthy of being listed here, but I figured it might be fun for some people.
If someone already has something like this posted then graveyard this.
JASS:
globals
private gamecache dummy = null
endglobals
function IsSinglePlayer takes nothing returns boolean
return SaveGameCache(dummy) //Only returns true if you are in single player, if you are on b.net or LAN it returns false.
endfunction