Alopex Posted February 26, 2016 Share Posted February 26, 2016 I've been trying to create a third person character controller, to little avail. I copied and pasted the script from this page, replacing all instances of "App.window" with "window" (because I kept getting "attempt to index field 'window' (a nil value)"). Now, every time I try to run the code, I get "attempt to call method 'SetPosition' (a nil value)". I'm a little bit stumped as to why the code won't run properly. Any suggestions? Quote Link to comment Share on other sites More sharing options...
Slastraf Posted February 27, 2016 Share Posted February 27, 2016 You need toget the current window , try using this a tthe top of the function : window=Window:GetCurrent() and remove the "App." Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.