Jump to content

1336: bad argument #1 to ipairs issue


Recommended Posts

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.lua

log.txt

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...