GalloViking Posted December 19, 2022 Share Posted December 19, 2022 Hello! To make bees ignore the modded character I'm working on, I'm currently attempting to add my character's tag to the bee's RETARGET_CANT_TAGS table. Thing is, I'm not entirely sure how to do that? I'm pretty sure this line somewhere in the modmain will do the trick, but I'm not entirely sure how to make it work properly with postinit. table.insert(RETARGET_CANT_TAGS, 1, "beekeeper") Link to comment https://forums.kleientertainment.com/forums/topic/145274-how-do-i-add-a-new-tag-to-an-existing-local-table/ Share on other sites More sharing options...
Rickzzs Posted December 19, 2022 Share Posted December 19, 2022 You'll want to access an upvalue. https://github.com/ZzzzzzzSkyward/DSTmodification-strategy/tree/master/exercise-upvalue 1 Link to comment https://forums.kleientertainment.com/forums/topic/145274-how-do-i-add-a-new-tag-to-an-existing-local-table/#findComment-1615602 Share on other sites More sharing options...
GalloViking Posted December 19, 2022 Author Share Posted December 19, 2022 I'll have to give that a look, thanks. I've never seen that before. Link to comment https://forums.kleientertainment.com/forums/topic/145274-how-do-i-add-a-new-tag-to-an-existing-local-table/#findComment-1615606 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