Types in C++ can be exposed to scripts exactly as they are. That requires wrapper functions in order to communicate between scripts and the C++ code it's accessing.
There are multiple reasons why Angelscript is a good choice for this.įor starters, Angelscript binds directly to C++ code, which makes it more efficient to use than a language like Pawn, which uses cells. It's called the AngelScript Mod Loader, or ASMod for short.Įssentially this plugin is intended to be AMX Mod, only with Angelscript as its scripting language. For the past few days i've been working on a Metamod plugin that uses Angelscript as its scripting language.