Accessing MM:S plugin through Lua Script in Dota
I want to write a function in C++ which I can access through my custom game lua file (addon_game_mode.lua). Is this possible through MM:S ?
|
Re: Accessing MM:S plugin through Lua Script in Dota
To do so, you need to declare a ScriptDesc, and the register it.
There are some examples in the SDK for how the game does it. Doing from a plugin is similar. There are examples of doing so in a plugin here, https://github.com/tetl/LuaEx (which was actually written for Source 1 Dota 2 long ago). |
Re: Accessing MM:S plugin through Lua Script in Dota
Quote:
|
Re: Accessing MM:S plugin through Lua Script in Dota
Quote:
|
All times are GMT -4. The time now is 04:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.