Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to run lua script? #41

Closed
andersongcs opened this issue Mar 18, 2020 · 1 comment
Closed

how to run lua script? #41

andersongcs opened this issue Mar 18, 2020 · 1 comment

Comments

@andersongcs
Copy link

Hello, how are you? I'm following your project and I'm really enjoying it, well I'm a lay user, I managed to run your hack, but I would like to know how I do to run some Lua script? Thanks! I hope I'm not disturbing you.

@LWSS
Copy link
Owner

LWSS commented Mar 18, 2020

Hi, this project is aimed more towards developers right now.

It has a very large SDK that I maintain for Source 2 that you will find useful if you know how to program.

https://github.com/LWSS/McDota/blob/master/src/SDK/CVScriptGameSystem.h is what you're looking for.

vscriptSystem->RunScript("bazinga", false); will look for bazinga.lua
dota 2 beta/game/dota/scripts/vscripts/bazinga.lua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants