GhostXoP Posted June 23, 2012 Posted June 23, 2012 I'm not sure why it isnt. It just says Bad Argument at spawnPlayer. Can you spot what may be wrong? The variables are correct, ive removed and replaced them, and i still have the error. getRootElement() is corrected but the error still stands.
Castillo Posted June 23, 2012 Posted June 23, 2012 Are you sure that is the first argument the problem? I don't see why it wouldn't work.
Guest Guest4401 Posted June 23, 2012 Posted June 23, 2012 I guess you're passing the function getRootElement instead of the root in the attachedTo argument. getRootElement should be getRootElement() or root I think.
GhostXoP Posted June 23, 2012 Author Posted June 23, 2012 I tried root, solidsnake was correct, the variables were off. Not sure how, but thanks
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