Guns permanently shoot even if 'shoot constantly on right click' is off

Started by Sir_cookie98 on

Topic category: Troubleshooting, bugs, and solutions

Active 4 years ago
Joined Jun 2016
Points:
1729

User statistics:

  • Modifications: 6
  • Forum topics: 17
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1752
Guns permanently shoot even if 'shoot constantly on right click' is off

I make a gun, test it, and it works fine for a while, and then starts permanently firing even when I'm not doing anything. This eventually destroys the gun, makes you run out of ammo, and is a major issue.

Active 5 years ago
Joined Jan 2017
Points:
822

User statistics:

  • Modifications: 4
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 80
I'm no expert but how did…
Mon, 03/05/2018 - 17:56

I'm no expert but how did you set up the gun to fire in the event? Mind you I never built a gun in the Mcreator However I have this mod I'm building now where I was learning how to work events.

I have 3 items as runes and I wanted a potion effect to happen only when all three runes where placed in the inventory. So I set up three Logic variables to false then setup a "variable set" event with in the event called "when Item in inventory tick" set it to true. This was done on all three. Then a stacked event where the potion effect happens when all logic variables are true.

I have noticed that Logic variables set to false switch back to the original state after the event has happened.

 

 

Active 4 years ago
Joined Jun 2016
Points:
1729

User statistics:

  • Modifications: 6
  • Forum topics: 17
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1752
'Logic Variables'?
Sun, 03/25/2018 - 15:24

'Logic Variables'?

Active 7 years ago
Joined Jun 2018
Points:
690

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
Would also love to know the…
Sun, 07/01/2018 - 07:05

Would also love to know the answer to this.

Active 4 years ago
Joined Mar 2018
Points:
733

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 53
I had the same problem with…
Sun, 07/01/2018 - 14:30

I had the same problem with the bow

 

Active 4 years ago
Joined Mar 2018
Points:
733

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 53
*when making a bow
Sun, 07/01/2018 - 14:30

*when making a bow

Active 4 years ago
Joined Jun 2016
Points:
1729

User statistics:

  • Modifications: 6
  • Forum topics: 17
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1752
Know what they are now.
Thu, 09/13/2018 - 15:40

Know what they are now.

Active 4 years ago
Joined Jun 2016
Points:
1729

User statistics:

  • Modifications: 6
  • Forum topics: 17
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1752
*What logic variables are.
Thu, 09/13/2018 - 15:41

*What logic variables are.