npcname
assigned to it with a name in the text section. It also has the Object HUD Component attached. Within my HUD settings I have a HUD setup. When I place regular text in this box it all displays correctly. The issue I'm having is I don't know how to pull that custom text code in to the text box. I've tried reading the forums to see if there is explaination how custom txt codes work but I cant seem to find anything. Chance's are I'm going about this the wrong way anyway.It looks like you're new here. If you want to get involved, click one of these buttons!
E.g. set it as the Short Name and use the short name text code in the object HUD (%sn).
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
This is the outcome;
https://pasteboard.co/IRrazNJ.png
And these are the settings;
https://pasteboard.co/IRrb8wf.png
In your scene object's settings (in ORK, not on the component) use the text code in the Short Name setting, e.g. set it to %custom.
In the scene object component, use the same text code %custom and define the text for it.
In the object HUD, the %sn text code is correct :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
https://pasteboard.co/IRrhUER.png
In World > Scene Objects in the scene object you want to use:
- Content Information > Short Name, set this to %custom (or however you want to name your custom text code)
On your game object in the scene, in the Scene Object component:
- add a custom text code
- set Text Code to %custom
- define the Text the text code should display
In Menus > HUDs in your Object HUD:
- use %sn text code where you want to display it.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!