Need some help with solo play! {making a map unable to be played in Single Player}

Status
Not open for further replies.
Level 6
Joined
Mar 15, 2009
Messages
190
Hey guys,

Can anyone help me with this:

How do i make sure,
That when my map starts,
it CANNOT be played in single player, but with at least 2 players?

Thanks in advance!
 
Level 11
Joined
Feb 16, 2009
Messages
760
Here you go:
  • Player check
    • Events
      • Map initialization
    • Conditions
      • (Number of players in (All players controlled by a User player)) Equal to 1
    • Actions
      • Player Group - Pick every player in (All players controlled by a User player) and do (Game - Defeat (Picked player) with the message: This game can only ...)
 
dunno if this works for the computer players as well, some maps got some single player protection, but when i added some computer players to it, it worked..
so you should check, if he is playing and if it's a user, instead of just counting ingame players

conditions:
- check if player is user or computer player
- check if player slot equal to is playing
 
Status
Not open for further replies.
Top