#Need help with changing mouse cursor movement for turret script

38 messages · Page 1 of 1 (latest)

hollow ingot
#

sorry its so long btw, im kinda trash with scripting and i rlly dunno if horizontal movement with mouse is a thing

proper ermine
#

no

pliant snowBOT
#

studio** You are now Level 11! **studio

proper ermine
#

you can't tamper with the mouse, but you can make a slider that follows the mouses horizontal position

#

@hollow ingot

hollow ingot
#

🐿️

#

how would i make a slider tho, i aint THAT advanced with scripting

proper ermine
#

This is an altitude tracker, you can use the right half to be the slider and the dotted line we can say is the mouse

proper ermine
#

since the mouse isn't a vector3, it will have the same position as the box so you can set the horizontal position of the slider to the horizontal position of the mouse

proper ermine
hollow ingot
#

i could show you the model of the turret i have inserted

proper ermine
#

that wouldn't really help

#

it's just a model

hollow ingot
#

i meant the thing itself

#

with the scripts

proper ermine
#

I can't really help you if you don't understand how I'm explaining

hollow ingot
proper ermine
#

yes and I explained

#

ok so you track the mouse horizontal position, then you use the horizontal position as the orientation(rotation) for the turret

#

is that better?

hollow ingot
#

no 💀 i dont even know how to do that either

proper ermine
hollow ingot
#

i mainly just model stuff i dont script rlly at all

proper ermine
#

ok then I can't help

#

I'm explaining it as beginner friendly as possible

hollow ingot
#

i hardly even understand scripting since i never do it, its too complicated for me especially since i have a hard time understanding anything :P

proper ermine
#

ok

hollow ingot
#

would sending you the whole thing with the turret script included help? youd have everything you would need

proper ermine
#

you should learn beginner stuff before tampering with advanced stuff

proper ermine
#

I would be speaking Chinese to a russian

hollow ingot
#

all im literally trying to do is find a way to make the thing move only horizantally but have no clue how to even do that which is why i asked here

#

forget about it ill find a different way

proper ermine
#

Yes, and doing that you need to be advanced

proper ermine