Fuffles Posted July 19, 2018 Share Posted July 19, 2018 so, for some reasons whenever I try to add a new component to the PalmTree, it doesn't seem to add globally to all the trees just to new spawned ones Quote if not inst.components.activatable then inst:AddComponent("activatable") end It just simply sits in the PostInit function. I'd be glad if someone helped with this and also another problem I had is I can't seem to change the Verb of the component, I'd prefer to add my own one, but I tried with a lot of the default ones, nothing seemed to work Quote inst.components.activatable.getverb = function() return "WHACK" end this also just sits in the function, it's beeing added to the palmtree_tall prefab Link to comment https://forums.kleientertainment.com/forums/topic/93738-shipwrecked-issues-adding-the-activatable-component/ Share on other sites More sharing options...
zVince Posted July 19, 2018 Share Posted July 19, 2018 Up Link to comment https://forums.kleientertainment.com/forums/topic/93738-shipwrecked-issues-adding-the-activatable-component/#findComment-1066225 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