Others How to set player name in Quest 5

Higurashika

Well-Known Member
Nov 15, 2018
1,400
2,000
Hi! I try to do a small game in Quest 5, and i wonder how i could allow player to choose a name?
 

toolkitxx

Well-Known Member
Modder
Donor
Game Developer
May 3, 2017
1,473
1,794
I would think you need to use the 'alias' attribute for that - if we are talking about this
or to make it more clear:
Code:
msg ("What is your name?")
  get input {
    player.alias = CapFirst(result)
    }
 
Last edited:

Higurashika

Well-Known Member
Nov 15, 2018
1,400
2,000
toolkitxx thank you! But where exactly i should write this code? When i create game there are two options: text and gamebook. I use gamebook mode 'cause my game is sort of VN.
 

toolkitxx

Well-Known Member
Modder
Donor
Game Developer
May 3, 2017
1,473
1,794
You have to do it in the 'scripts' section. There is a tab for it. So you define the script there and then choose the object/location etc from where to call it

P.S.. I havnt worked that much with Quest5 to be sure if that is actually supported in gamebook mode as i never tried that one due to being called 'limited'.
I do recall that there is the recommandation to not use gamebook due to that but use full mode and disable some of the panes instead if one wants to create a VN.
 
Last edited: