Ubiquitous Posted January 25, 2015 Share Posted January 25, 2015 Been looking through a lot of components trying to understand how they work. I keep coming across some functions that I cannot find a real reference to. One is testfn() where exactly is it initialized? Perhaps I am just not comprehending the LUA environment too well. Also I see many functions calling on GetPosition() which again I am unable to find any reference to what it takes into account. If anyone could shed some light on where these functions are being initialized so I could better understand what is going on I would really appreciate it. Thanks. Link to comment Share on other sites More sharing options...
rezecib Posted January 25, 2015 Share Posted January 25, 2015 @Ubiquitous, Find-in-Files is your best friend in this area (set it to search within the scripts folder). Since functions are variables in Lua, they can be set and changed from pretty much anywhere. I talked about how you do this in a mod in the Lua Guide part of my guide (objects as tables). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now