I want to allow the player to decide the name of the combatant they control, but I have no idea how to do it.
Is there a node in Schematics that allows the player to input text using the keyboard?
Also, if keyboard input is possible, how can I reflect that input as the name of the combatant?
It seems that the Set Combatant Name node does not accept variable input.
  • https://forum.orkframework.com/discussion/6381/renaming-combatants-w-value-input-node

    Should get you what you're looking for. Basically you use a the value input node to get the name and store it in a variable, then click the drop down of Value next to the Name field in Set Combatant Name and change it to String Variable.

    image
  • @Acissathar

    The Value Input Dialogue node no longer exists.
    Instead there is a Value Option Dialogue node.
    I tried using that to input from the keyboard.
    However, although a dialogue for inputting text appears and I can input text, it doesn't go any further than that.
    I still don't have a clue how to do this.
    I think a more detailed explanation is needed.
  • Value Option Dialogue is what you want. In the Input Settings part choose Custom and put the string variable name in the variable key field. Then use the Set Combatant Name node and use the variable you just set. You have to set the correct object for what you are naming. Hope this helps.
  • edited April 9
    @Socrates422

    I tried using the Value Option Dialogue to modify the UI box and checked various things, but although I can type with the keyboard, I cannot proceed further.
    All I can do is type letters with the keyboard.
    In the conversation dialogue, I can proceed further by pressing the Enter key or similar.
    What exactly am I missing?
    Post edited by lonewolf_cat on
  • The enter key is most likely received by the text field to start and stop editing and never reaches ORK's UI to confirm and continue the dialogue.
    Try adding an Accept input to your Value Option Dialogue, which you can select and accept with enter.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • @gamingislove

    After adding an input item to the Value Option Dialogue node, I was able to proceed by pressing the OK button. However, pressing the Enter key does not function as the Accept key.
    More importantly, I am stuck because the name I entered is not being reflected in the combatant's name. I have tried various combinations of the Value Option Dialogue node, Set Combatant Name node, and JoinGroup node, but the initial name does not change.
    I set a String Variable in the Value Option Dialogue and then assigned the same String Variable to the Name field in the following Set Combatant Name node. (Basically, I followed the method that was taught earlier.)
    How can I add the character with the assigned name to the party?
  • Most important is to use the same variable key and origin in the Value Option Dialogue and Set Combatant Name nodes, e.g. Local variable origin and variable key name.

    To change the name of the combatant it first has to exist, i.e. in your case, join the player group.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.