Page 1 of 1

tank.disable_flashlight()

Posted: Sun Feb 16, 2020 10:04 pm
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 1006 times

Re: tank.disable_flashlight()

Posted: Mon Feb 17, 2020 12:23 am
by DaveMcW
It does not seem possible, maybe try modding interface requests.

Re: tank.disable_flashlight()

Posted: Mon Feb 17, 2020 12:49 am
by XaLpHa89
A little more information about the function LuaControl.disable_flashlight would be nice.