Detect singleplayer

Discussion in 'World Editor Help' started by afisakov, Jul 23, 2017.

  1. afisakov

    afisakov You can change this now in User CP.

    +38 / 0 / -0
    Does anyone here know of a reliable way to detect singleplayer, but NOT a Lan player playing alone.
    I am working on an rpg and want to allow people to be able to play alone (solo lan), but not have access to the cheats in singleplayer (whosyourdaddy etc.).
  2. millzy

    millzy Ultra Cool Member

    +44 / 0 / -0
    try the condition
    (Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)))) Equal to 1
    also whats the bb code for triggers?
  3. vypur85

    vypur85 Hibernate

    +797 / 0 / -0
  4. GFreak45

    GFreak45 I didnt slap you, i high 5'd your face.

    +132 / 0 / -0
    Why dont you just make events that detect these cheats being entered, and end the game instantly, there are only a few cheats
  5. jonas

    jonas Member

    +42 / 4 / -0
    You could fool around a little with game cache and saving and loading. I think these work slightly differently for Single/Multiplayer, but I'm not sure how to turn that into something that works.

    Detecting cheats in chat is probably not possible. But you could measure the effects of the cheat, if it's really a big deal for you.

Share This Page