DoctorHow Posted June 24, 2014 Share Posted June 24, 2014 Let me start off by saying I'm a total newbie at coding and modding.I've followed a tutorial on creating your own character, but I'm getting an odd error.Here's the log. Here's line 70, as specified, in the actual .lua: Unless my eyes deceive me, 'prefabs' is definitely there, so I'm not sure what the problem is?I've searched for a solution, but can't seem to find one.Help would be much appreciated. Link to comment https://forums.kleientertainment.com/forums/topic/37777-odd-mod-error/ Share on other sites More sharing options...
debugman18 Posted June 24, 2014 Share Posted June 24, 2014 Let me start off by saying I'm a total newbie at coding and modding.I've followed a tutorial on creating your own character, but I'm getting an odd error.Here's the log. Here's line 70, as specified, in the actual .lua: Unless my eyes deceive me, 'prefabs' is definitely there, so I'm not sure what the problem is?I've searched for a solution, but can't seem to find one.Help would be much appreciated. You didn't declare the prefabs table.prefabs = { "your_item"} Link to comment https://forums.kleientertainment.com/forums/topic/37777-odd-mod-error/#findComment-504071 Share on other sites More sharing options...
DoctorHow Posted June 24, 2014 Author Share Posted June 24, 2014 You didn't declare the prefabs table.prefabs = { "your_item"}Thanks! I did that in the modmain, I guess I just had to do it in the prefab .lua. Link to comment https://forums.kleientertainment.com/forums/topic/37777-odd-mod-error/#findComment-504079 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