Ramrodiger Posted August 27, 2015 Share Posted August 27, 2015 I'm getting this error (log attached) when I use more than one "nil" in the MakeCharacter end function of my main prefab. I currently have this but, for the life of me, cannot figure out how to order it to make it operational. My character is a modification of wolfgang and it seems to work almost perfectly but will crash when he transitions from normal to his large form. This is what is crashing: return MakePlayerCharacter("wolfgang", nil, assets, nil, master_init, common_postinit) I'm not sure if the ordering is correct or if anyone has a suggestion for entry? I attached my wolfgang.lua prefab and the crash log for anyone willing to help. It would be very appreciated wolfgang.lualog.txt Link to comment https://forums.kleientertainment.com/forums/topic/57405-1336-bad-argument-1-to-ipairs-issue/ Share on other sites More sharing options...
Developer ImDaMisterL Posted August 27, 2015 Developer Share Posted August 27, 2015 1337 hax0rs pwnd j00 Link to comment https://forums.kleientertainment.com/forums/topic/57405-1336-bad-argument-1-to-ipairs-issue/#findComment-666867 Share on other sites More sharing options...
DarkXero Posted August 28, 2015 Share Posted August 28, 2015 @Ramrodiger:return MakePlayerCharacter("wolfgang", prefabs, assets, common_postinit, master_init) Link to comment https://forums.kleientertainment.com/forums/topic/57405-1336-bad-argument-1-to-ipairs-issue/#findComment-667063 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