Back to your question, you can use OOP but it’s not reccomended if you don’t work with invidual objects like entitites that have specific functions for example function that makes some enemy shoot at specific thing, then object way is great idea because you can control each with specific functions
Also i made manual, 11th topic is about types: Scripting Manual