SenL Posted March 14, 2015 Share Posted March 14, 2015 What is this?inst.Refresh=refresh Is this built-in, like OnLoad and OnSave? There's alsoinst.OnRemoveEntity = unlink What are other built-in stuff? Thanks. Link to comment Share on other sites More sharing options...
rezecib Posted March 14, 2015 Share Posted March 14, 2015 (edited) @SenL, I think you want to look at scripts/entityscript. Refresh isn't there, though. I gathered you're looking Abigail's flower (Edit: Oh wow I completely missed the post title, haha), for which Refresh isn't anything built in. Like every other object in Lua, inst is just a table, so it's putting a function at the index "Refresh". This is then called by Abigail. Edited March 14, 2015 by rezecib Link to comment Share on other sites More sharing options...
SenL Posted March 14, 2015 Author Share Posted March 14, 2015 Oh ok, thanks. 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