Predefined Lua Functions

Any discussion not related to the other forum topics
Post Reply
secksrobot
Posts: 2
Joined: Sun May 28, 2017 2:59 pm

Predefined Lua Functions

Post by secksrobot » Sun May 28, 2017 3:08 pm

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

User avatar
whasf
Site Admin
Posts: 1312
Joined: Thu Jul 19, 2012 9:11 pm

Re: Predefined Lua Functions

Post by whasf » Sun May 28, 2017 8:25 pm

src/lua/lua_baseentity.h
-- Whasf

secksrobot
Posts: 2
Joined: Sun May 28, 2017 2:59 pm

Re: Predefined Lua Functions

Post by secksrobot » Sun May 28, 2017 8:36 pm

Thank you very much! That file will be super helpful and I just could not find the thing.

Post Reply