Only the non relevant part of modern games are written in C++, like graphics and physics (the game engine itself). The relevant part (story, user interface, etc) is written in various scripting languages like Lua, Python, ActionScript (Scaleform), etc.