Jump to content

Modding: Ability to Generate Scripts


Chuckleberry Finn

Recommended Posts

I have a very specific request 🙏 

 

I wanted to use getScriptManager():ParseScript() to generate scripts on the fly, but WorldDictionary does not like that very much - could there be a way to feed scripts in using Lua alone?

 

The sanity check that appears in the log:

`WorldDictionary: Warning script item loaded after WorldDictionary is initialised`
`java.lang.RuntimeException: This shouldn't be happening.`

 

Going through the Java the WD is flagged as loading for a duration and then returns to loading=false. I don't see a way to sneak or time a generated script due to this.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...