Jump to content

Recommended Posts

Posted

I’m trying to make a custom slideDoorTrigger lua. I need to register it in the i3d. I understand how to do a callback onCreate, however how do I source the new lua?  If I simply try to source it via the modDesc I think it just loads the lua but it’s not calling it when needed at the trigger. I know the original script still works because it’s used at the vehicle shop. 

  • bdbssb changed the title to Loading custom onCreate?

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