When do I use C++ and when do I use Lua?

I am a newer with Lumberyard, I have the question when I should use C++ to define my Component that implements logical functions and when I should use lua script. I search about it, but I have not known it . In other words, where do I have to use C++ or Lua?

You never have to use LUA, a lot of people use pure C++ but the only up side of LUA is not having to compile it yourself. If you are not big with C++ than you can mainly use LUA for a lot you only really need C++ for certain things like your own gems I believe needs C++.


Oh, thank you very much.

1 Like