How i can change the pov when i use a specific item and when I click a keybinding?

Started by RickAstley on

Topic category: Help with MCreator software

Last seen on 15:21, 13. Jan 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How i can change the pov when i use a specific item and when I click a keybinding?
Tue, 01/04/2022 - 19:05 (edited)

Ok, im trying to do a pistol and I want that when I have it in the hand and press "right click" it would change the fov. How i can do this? Please help me

Edited by RickAstley on Tue, 01/04/2022 - 19:05
Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could try this plugin…
Wed, 01/05/2022 - 20:42

you could try this plugin

Better Procedures | MCreator

but make sure to get first the fov so when player stops aiming it returns to normal fov

Last seen on 15:21, 13. Jan 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, but I have another thing…
Sat, 01/08/2022 - 15:46

Ok, but I have another thing to ask; how i can apply to player an effect ONLY when he right click and when he stop to right click the effect will get removed. Do you know how to help me?

Last seen on 20:07, 9. Feb 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do it like this:   …
Sat, 01/08/2022 - 17:21

You can do it like this:

Linking procedures to a keybind

 

(You can link two procedures to MCreator Keybind procedure triggers, one sets the FOV to whatever value you like, and the second resets it, I recommend in the first one setting the original FOV to an NBT tag or a global variable of type PLAYER_LIFETIME)

Last seen on 20:07, 9. Feb 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I recommend in the first one…
Sat, 01/08/2022 - 17:22

I recommend in the first one setting the original FOV to an NBT tag or a global variable of type PLAYER_LIFETIME

Just so you can reset it later on.

Last seen on 20:07, 9. Feb 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do it like this:   …
Sat, 01/08/2022 - 17:22

You can do it like this:

Linking procedures to a keybind

 

(You can link two procedures to MCreator Keybind procedure triggers, one sets the FOV to whatever value you like, and the second resets it, I recommend in the first one setting the original FOV to an NBT tag or a global variable of type PLAYER_LIFETIME)

You're welcome.