tank.disable_flashlight()

Place to get help with not working mods / modding interface.
XaLpHa89
Fast Inserter
Fast Inserter
Posts: 122
Joined: Wed Jan 24, 2018 6:59 am
Contact:

tank.disable_flashlight()

Post by XaLpHa89 »

I am looking for the following function "tank.disable_flashlight()" or what do I have to do? I can turn a player's light on / off using the following functions.

Code: Select all

player.character.enable_flashlight()
player.character.disable_flashlight()
20200216225803_1.jpg
20200216225803_1.jpg (309.05 KiB) Viewed 1003 times
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3749
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: tank.disable_flashlight()

Post by DaveMcW »

It does not seem possible, maybe try modding interface requests.
XaLpHa89
Fast Inserter
Fast Inserter
Posts: 122
Joined: Wed Jan 24, 2018 6:59 am
Contact:

Re: tank.disable_flashlight()

Post by XaLpHa89 »

A little more information about the function LuaControl.disable_flashlight would be nice.
Post Reply

Return to “Modding help”