Jump to content
MakeWebGames

lyria

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by lyria

  1. Hello! I want to implement "Jail" and a "Dead" mode in the game of mine. I am using a fresh installation of ezRPG. I am having a module I would want to be showed if the user is Dead or respectively in Jail. But I'm not sure where I should put the code where I make the redirection to the certain module if the criteria is filled, for example, if you are dead you would just want to have access to like Logout, dead module, etcetera. If I put the redirection in a hook i'd have a never ending circle of redirections, but if i rather assign a variable in the hook like IS_DEAD and then redirect in every module, wouldn't it be unnecsseary to have to place that code in every module?... If i place it in base module, i would not have any access at all to any module... So how do i make some sort of "Dead mode" when the user is dead (0 hp) i redirect him to some sort of dead module, and then i restrict him to certain modules, but some modules he should still have access to..? Thanks in advance
×
×
  • Create New...