While trying to add 2 variables to my module and then calling the module with 2 arguments but it throws an error and says it only uses 0 arguments?
While trying to add 2 variables to my module and then calling the module with 2 arguments but it throws an error and says it only uses 0 arguments?
If you ignore the error and print out the arguments within the loadNewObstacle function, does it get the variables correctly?
No doesnt throw an error either
Does the function even get fired? Any print statement within it will do
Alright looks like the function didnt even get fired now it did pass through the 2 variables i specified but still identifies as an error but it works! thank you
Regarding the error it gives - check that you aren’t defining the loadNewObstacle anywhere else within the script
Im currently in the middle of making one of my solo games into multiplayer so i have alot of them with no specified arguments so thats probably why but ill fix them soon
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.