Re: Help with item coding

#7
DarkPaapi wrote:Hello guys.

Is it possible to set a contained item active if the parent item is "OnUse" or "OnActive", just asking because I made a gun and want an option to put a flashlight into the itemcontain slot and become active when I'm using the main item.
that's impossible to do right now. you could make it possible to make gun with flashlight in fabricator
check out my mod Barotrauma Erect

Re: Help with item coding

#8
etet2 wrote: that's impossible to do right now. you could make it possible to make gun with flashlight in fabricator
Thanks. Than i need to go with the Plan B. If a flashight is equipted on the guns inventory slot its turning on a light cone, just like the normal flashlight when is equipted.