Most game engines have scripting languages built in.
Yes, but those game engines are - on iOS especially - locked in to running bundled scripts that drive the specific game you’ve purchased from the App Store. ScummVM is running externally provided scripts.