How do I trigger a condition switch?

Discussion in 'RPG Maker XP' started by Dolce99, Oct 7, 2018.

  1. Dolce99

    Dolce99 Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMXP
    I am trying to create a conditional event wherein the pc will die/ receive a game-over when their hp=0.
    I do not want to use the 'battle mode' that comes with RPG maker, rather when the pc runs into an object and looses health to the point where their hp =0, they will die.

    How do I make the pc's hp a variable? (or how do I set a condition switch?) How can I use this to trigger a common event?
    Thanks y'all
     
    #1
  2. Andar

    Andar Veteran Veteran

    Messages:
    28,448
    Likes Received:
    6,493
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    I suggest you follow the link to the starting point in my signature and work through the tutorials linked there, that will teach you the basics as fast as possible.
    Especially the links to event tutorial games and to the variables guide game.

    Those tutorials were written for VXA/MV, not for XP, but variables and events are really basic and haven't changed much since RMXP.
     
    #2
    Dolce99 likes this.
  3. Dolce99

    Dolce99 Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMXP
    Thanks very much for the help!!
     
    #3
  4. Shaz

    Shaz Veteran Veteran

    Messages:
    37,718
    Likes Received:
    11,429
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    Doesn't the game end when the player's HP reaches 0 by default? Even outside of battle?

    If that isn't happening for you, then you may have something set up in the System tab that prevents it, or a plugin that prevents it, or you may not have set up your starting party members correctly. If you only want one character in the party, remove the others from the starting party in the system tab, rather than deleting them from the actors tab, which would leave you with three "ghost" party members.
     
    #4

Share This Page