Hi Guys,
I am learning scripting by going in deep, tearing everything out, and learning how it all hangs together. Some might call it 're-inventing the wheel' to an extent, but I find this method works well for me. 🙂
Assuming I have taken out all of the scripts and am mainly observing the debug output window, I am wondering how you query what is in the map? For example, how would I get the player characters, position, etc?
I have tried;
But it returns 'nil', so I am assuming that $gamePlayer is most likely defined in scripts that are no longer in the project.
Any advice would be greatly appreciated.
I am learning scripting by going in deep, tearing everything out, and learning how it all hangs together. Some might call it 're-inventing the wheel' to an extent, but I find this method works well for me. 🙂
Assuming I have taken out all of the scripts and am mainly observing the debug output window, I am wondering how you query what is in the map? For example, how would I get the player characters, position, etc?
I have tried;
Code:
p $gamePlayer.x
But it returns 'nil', so I am assuming that $gamePlayer is most likely defined in scripts that are no longer in the project.
Any advice would be greatly appreciated.