Argonwolf Posted January 19, 2021 Share Posted January 19, 2021 My mod currently uses prefab names to organize objects, but I'd like to use their display name (the name that shows when you mouse over the object in-world) for certain user interface aspects. How can I get this name? I looked through the component files but without knowing the name of whatever component displays those names, I couldn't find anything. Link to comment https://forums.kleientertainment.com/forums/topic/126277-how-do-you-get-the-display-name-of-an-object/ Share on other sites More sharing options...
penguin0616 Posted January 19, 2021 Share Posted January 19, 2021 something:GetDisplayName() 3 Link to comment https://forums.kleientertainment.com/forums/topic/126277-how-do-you-get-the-display-name-of-an-object/#findComment-1418461 Share on other sites More sharing options...
Argonwolf Posted January 20, 2021 Author Share Posted January 20, 2021 (edited) Oh. My. God. You can't be serious. EDIT: He was serious. That's so much more intuitive than I expected it to be. Still, thank you very much for replying. Edited January 20, 2021 by Argonwolf 1 1 Link to comment https://forums.kleientertainment.com/forums/topic/126277-how-do-you-get-the-display-name-of-an-object/#findComment-1418594 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now