Help with PlotToolTip Mod

Metamorph2183

Chieftain
Joined
Dec 19, 2020
Messages
3
Hello, I am relatively new to scripting with LUA. I am trying to make a mod so that the plot tooltip will only show if the left control key is pressed down.

I have been looking at PlotToolTip.lua and I believe I have a good idea where the function needs to go:

Code_dnUlgAPxUY.jpg


The problem is I don't know what the function is exactly for "if left control is not pressed" in lua code.

Also, I don't know if this will be as straightforward as I have outlined. Anybody out there who could let me know if I am on the right track?
 
Top Bottom