mexican geek Posted May 15, 2022 Share Posted May 15, 2022 (edited) Hey, I'm trying to make a character mod for DST Every time I choose my character this shows up: Can anyone please help me solve this? Edited June 4, 2022 by mexican geek Link to comment https://forums.kleientertainment.com/forums/topic/140266-mod-problem/ Share on other sites More sharing options...
zaptrap Posted May 19, 2022 Share Posted May 19, 2022 The error means that the GetPersistentData function in entityscript.lua is trying to index a component, but the component is a number value. So basically a component is a number instead of a table like how it's supposed to be. I'm assuming somewhere in your code you mistyped something like inst.components.examplecomponent = 1, instead of inst.components.examplecomponent.examplevariable = 1, but I don't have the mod scripts so idk, if you could post your mod here maybe i could help? Link to comment https://forums.kleientertainment.com/forums/topic/140266-mod-problem/#findComment-1571515 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