Yossitaru Posted November 26, 2019 Share Posted November 26, 2019 (edited) I am attempting to replicate the functionality of base game generators, where they exist as items in your inventory, but become fully fledged World Objects on the ground when dropped. The best I was able to find was the MapObjects.OnNewWithSprite function call found in MOGenerator.lua. However, I have no indication of when or if this function is even called, and I can find no other code that handles the creation of the World Object version of the generator, so I feel I have hit a dead end. Am I simply looking for the wrong words in the lua, or is this a special Java functionality that only works for base game generators? Edited November 26, 2019 by Yossitaru 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