Page 1 of 1

Predefined Lua Functions

Posted: Sun May 28, 2017 3:08 pm
by secksrobot
Hello,

I just stared looking into the project and have downloaded the files needed. However, I am curious if anyone can point me to a list of functions that already exist in regards to the Lua scripts.

Example:
I keep seeing functions in the code like "targ:getXPos()" and "player:PrintToPlayer". These must be predefined somewhere else right? Where can I find a list/library of them?

Thanks

Re: Predefined Lua Functions

Posted: Sun May 28, 2017 8:25 pm
by whasf
src/lua/lua_baseentity.h

Re: Predefined Lua Functions

Posted: Sun May 28, 2017 8:36 pm
by secksrobot
Thank you very much! That file will be super helpful and I just could not find the thing.