Started by
RickAstley
on
Topic category: Help with MCreator software
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
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
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?
You can do it like this:
(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)
Just so you can reset it later on.
You're welcome.