7 posts
Location
Germany
Posted 31 March 2019 - 02:37 PM
Hi Everyone,
i have a small problem. Somehow this script does not trigger and i do not understand why. Can anyone help me?
https://pastebin.com/PrWah3D7thanks!
7 posts
Location
Germany
Posted 31 March 2019 - 07:59 PM
Please close thread…
Problem was Layer 8.
42 posts
Location
Germany
Posted 02 April 2019 - 08:11 PM
You haven't checked which button gets clicked on line 17:
if x > 5 and x < 8 and y == 2 then
It should look like:
if parm1 == 1 and x > 5 and x < 8 and y == 2 then -- 1 is tthe left mouse button. I don't really know about the both other
Everything else should be fine as far as I know
1220 posts
Location
Earth orbit
Posted 02 April 2019 - 10:06 PM
You haven't checked which button gets clicked on line 17:
if x > 5 and x < 8 and y == 2 then
It should look like:
if parm1 == 1 and x > 5 and x < 8 and y == 2 then -- 1 is tthe left mouse button. I don't really know about the both other
Everything else should be fine as far as I know
It doesn't matter if the button is checked. If there is no check for the button then all 3 buttons are considered valid.
42 posts
Location
Germany
Posted 03 April 2019 - 03:50 PM
You haven't checked which button gets clicked on line 17:
if x > 5 and x < 8 and y == 2 then
It should look like:
if parm1 == 1 and x > 5 and x < 8 and y == 2 then -- 1 is tthe left mouse button. I don't really know about the both other
Everything else should be fine as far as I know
It doesn't matter if the button is checked. If there is no check for the button then all 3 buttons are considered valid.
Really? It never worked for me though when I forgot checking it… Well.. questions over questions :P/>