ParASite42 Posted July 5, 2022 Share Posted July 5, 2022 Attempting to make a character that can make the nightmare and shadow creatures. I have everything down but when it attempts to leash the monsters it gives a traceback error. I've compared with other mods that have this set up already and it looks like everything is set up correctly. Any pointers? Link to comment https://forums.kleientertainment.com/forums/topic/141480-leashing-giving-error/ Share on other sites More sharing options...
Bumber64 Posted July 5, 2022 Share Posted July 5, 2022 (edited) petleash.lua, lines 44-46: function PetLeash:IsFull() return self.numpets >= self.maxpets end Either "numpets" or "maxpets" is nil in your petleash component for some reason. Edited July 5, 2022 by Bumber64 Link to comment https://forums.kleientertainment.com/forums/topic/141480-leashing-giving-error/#findComment-1582143 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