Hello
I just wanted to ask a question about C++ script hook witch is for GTA IV i was just wondering what tools or what functions are used to create a program like that?
Printable View
Hello
I just wanted to ask a question about C++ script hook witch is for GTA IV i was just wondering what tools or what functions are used to create a program like that?
You need a script language handler. You can write your own or use ready made ones. A fairly popular one is Lua. But there's other ones as well.
To have the script language interact with your own program, you will need to provide it with 'hooks' and entrypoints into your own framework. How this works and how far you can go depends on what script handler you're using.
In a basic form, it's aking to providing COM interfacing to your own program, but instead of COM objects, the users make scripts. The interfacing technology used is similar though.
Were would you start on makeing hooks and entry point to a program could you give me a link to a guide or something please