Jump to content

[Shipwrecked] Issues adding the activatable component


Recommended Posts

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
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...