This article discusses the use of scripting in game on Unreal Engine, focusing on Lua, along with compiled C++ code. Scripting uses easier languages interpreted at runtime, reducing the technical knowledge required and empowering less technical teams to modify the game during development without recompiling.
The article details the general pros and cons of adopting scripts. It also provides specific trade-offs for Python, JavaScript, and Lua, noting Lua’s lightweight nature and excellent integration with C/C++.
https://dev.epicgames.com/community/learning/tutorials/mmxb/unreal-engine-scripts-allow-others-to-change-your-game