![]() ![]() Loads, compiles and executes the scripts. Source/core/Script.hpp: Class from which all scripts have to inherit, handles the script main loop. Source/core/Native.cpp: Managed to native function call conversion. Source/core/NativeHashes.hpp: Native function hash enumeration. The remaining files in source/scripting implement the scripting API. Any help on improving that API is much appreciated.Įither use notepad to edit source code scripts directly or use Visual Studio to compile them to assemblies. Going down the Visual Studio way has the advantage of syntax highlighting, code completion and Intellisense (since there is no API documentation yet). ![]() Just create a C# or VisualBasic class library project, add a reference to Script Hook V. NET (rename the ASI to DLL) in the project properties and you are ready to go. If something doesn't work, check the log file. It catches exceptions and gives you all the information to get to the bottom of the problem. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |