• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Best anti single player system

Status
Not open for further replies.
Level 4
Joined
Jul 13, 2012
Messages
91
Been browsing for options, but none are modern.

Currently using ReloadGameCachesFromDisk() but been causing problems to me.

What's the best method to prevent playing from SP? (but still able to play on LAN alone)
 
Level 25
Joined
Mar 29, 2020
Messages
1,466
you could just add a trigger that checks how many players are controlled by a user, and if that number is 1 - end mission. or something like that.

why do you want to do that though? if the game is designed for multiplayer, then it just wont be fun to play alone. isn't that enough of a deterrent? it's like someone playing dota by themselves and beating creepwaves and towers with no opponents. why would you need to forcefully stop players from doing that?
 
Level 4
Joined
Jul 13, 2012
Messages
91
Well any idea how, else I'd stick to ReloadGameCachesFromDisk() but most of the time the host disconnects the first host then succeeding host will dc less (i just suspect this function is the cause, so I'm asking for other ways of anti SP)
 
Status
Not open for further replies.
Top