If I am wrong about this then I hope somebody fix my information, (player) is predefined , so i ment to change it into any thing else , for example (player1)
when you write the players action , and write in another action in a seperate script file a function refers to player , the engine wouldent know that the player you are talking about , is the player in the other script , I have had the same problem with the empty pointer , and solved it when i changed (player) to anything else,
now I dont have any Idea how it didnt work with you , and if so, why didnt the empty pointer error show up from the first place??.
I think that you have done somthing wrong that screwed it up
try to find whats wrong .


age:16 game design and programming experience:2 years