Dynamic mod name getting

Place to get help with not working mods / modding interface.
Post Reply
User avatar
Linver
Fast Inserter
Fast Inserter
Posts: 158
Joined: Wed Jan 09, 2019 2:28 pm
Contact:

Dynamic mod name getting

Post by Linver »

Hi all!
Is there a function A that i could use to get the name of mod that is invoking a function B? (function B that i have created in a lua file)
Thank all for answer

Boodals
Fast Inserter
Fast Inserter
Posts: 129
Joined: Sun Feb 11, 2018 7:10 pm
Contact:

Re: Dynamic mod name getting

Post by Boodals »

How is the function called? Mods are sandboxed in the control stage, meaning they can't interact with each other except by explicit means. You may be able to use LuaBootstrap.mod_name.
If this is a question and not a request, then it should go in the Modding Help board. Also I recommend checking out the discord #mod-making channel. There's experienced modders and a few developers there answering questions pretty much 24/7.

User avatar
Linver
Fast Inserter
Fast Inserter
Posts: 158
Joined: Wed Jan 09, 2019 2:28 pm
Contact:

Re: Dynamic mod name getting

Post by Linver »

I try to move the post but forum say that i couldn't delete it or move it in the correct tab, sorry for miss click, but i'm human :D

Post Reply

Return to “Modding help”