FurryEskimo Posted March 4, 2023 Share Posted March 4, 2023 I keep getting 'Error', but I know my code worked before. I'm trying to get the name of an entity, and I can tell via the logs that they DO have names. inst.components.inspectable.description = ("This hound's name is " .. inst.components.named.name .. ".") Link to comment https://forums.kleientertainment.com/forums/topic/146309-did-the-inspectable-component-change/ Share on other sites More sharing options...
Thomas_klei Posted March 4, 2023 Share Posted March 4, 2023 Just cus of the little comment up there I recommend maybe trying to use a specialdescription or descriptionfn inst.components.inspectable.getspecialdescription = function(inst) return ("This hound's name is " .. inst.components.named.name .. ".") end -- this is used for things like funny recipes and skelingtonsssss Link to comment https://forums.kleientertainment.com/forums/topic/146309-did-the-inspectable-component-change/#findComment-1623375 Share on other sites More sharing options...
FurryEskimo Posted March 15, 2023 Author Share Posted March 15, 2023 @Thomas Die Keyboard broken. Thanks for answering. It seems the global variable was no longer working as expected. Had to call it the old fashioned way. Weird but it worked.. 1 Link to comment https://forums.kleientertainment.com/forums/topic/146309-did-the-inspectable-component-change/#findComment-1625385 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