Character Creator

If you have problems with this please let me know. I think using a Switch script helped the most because it keeps all the codes separated. You'll also have to change the writing/descriptions and questions in it as well to fit your game. ^_^ You'll have to put the Function name in your Start Script, and then you put this code into your function and customize it for your game.

ClearScreen
msg ("")
ShowMenu ("", game.nameofmenuhere, false) {
  switch (result) {
    case ("Question 1") {
      list remove (game.nameofmenuhere, "Question 1")
      list add (game.nameofmenuhere, "Question 2")
      NameofFunctionHere
    }
    case ("Question 2") {
      msg ("")
        ShowMenu ("", menulist, false) {
          if (result = "Choice 1") {
            list remove (game.nameofmenuhere, "Question 2")
            list add (game.nameofmenuhere, "Question 3")
            ClearScreen
            NameofFunctionHere
          }
          else if (result = "Choice 2") {
            list remove (game.nameofmenuhere, "Question 2")
            list add (game.nameofmenuhere, "Question 3")
            ClearScreen
            NameofFunctionHere
          }
       }
	   }
    case ("Question 3") {
      msg ("")
      menulist = Split("Choice 1;Choice 2;Random", ";")
      ShowMenu ("", menulist, false) {
        if (result = "Choice 1") {
          ClearScreen
          list remove (game.nameofmenuhere, "Question 3")
          list add (game.nameofmenuhere, "Question 4")
          NameofFunctionHere
        }
        else if (result= "Choice 2") {
          ClearScreen
          list remove (game.nameofmenuhere, "Question 3")
          list add (game.nameofmenuhere, "Question 4")
          NameofFunctionHere
        }
        else if (result= "Random") {
		}
 }
 }
    case ("Question 4") {
      msg ("")
      get input {
        player.alias = result
        msg ("<br/>Pleased to meet you, <font color=\"dedede\">{player.alias}</font color>! ")
        wait {
          ClearScreen
          list remove (game.nameofmenuhere, "Question 4")
          list add (game.nameofmenuhere, "Question 5")
          NameofFunctionHere
        }
      }
    }
    case ("Question 5") {
      msg ("")
                ClearScreen
                MoveObject (player, NameofRoomHere)
              }
            }
			}

I am having difficulty adding this to my game platform. Could you help me?


Yup! I answered your question in the other part of the forum. Just be sure to change the text within. Actually, if you wanted. I could just copy/paste a blank template version if you like.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums