Arkathorn Posted October 12, 2015 Share Posted October 12, 2015 How exactly does inspectable.nameoverride work? It seems to not affect the name of an item at all. If nameoverride is not the way to do it, how would I override the name of an item? Link to comment https://forums.kleientertainment.com/forums/topic/58443-name-override/ Share on other sites More sharing options...
Mobbstar Posted October 12, 2015 Share Posted October 12, 2015 Uh... it's the inspectable component, obviously the name override is for the inspection quotes. One way would be...inst:AddComponent("named")inst.components.named:SetName(STRINGS.NAMES["ROCK_FLINTLESS"]) Alternatively, entitiyscript has a variable for the name. I'm not sure whether changing it would work without further issue, but it's worth a shot. Link to comment https://forums.kleientertainment.com/forums/topic/58443-name-override/#findComment-679522 Share on other sites More sharing options...
Arkathorn Posted October 12, 2015 Author Share Posted October 12, 2015 ...I'm an idiot.Thank you Mobbstar, I just assumed that since it said name, it meant that of the item. Link to comment https://forums.kleientertainment.com/forums/topic/58443-name-override/#findComment-679530 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