#how do i make Tool Ability?

1 messages · Page 1 of 1 (latest)

frail pollen
#

am not skilled enough to do this but attempted once and it didnt work.

strange condor
#

like on click or when pressing a key?

frail pollen
strange condor
#

you should learn userinputservice

glass moss
#

basically have an inputContext (folder of inputActions)
then an inputAction determines a certain action
then inputBindings in that determine what buttons on what devices trigger it

#

you can then use a localscript to find when the inputAction is pressed/released and all of that

#

when its pressed, find the tool you have out and find if the inputAction's ability is on that tool

#

if it is, tell the tool to run the event

#

obviously you need to check for edge cases and bugs (which ive fixed in my implementation but that would take so long to list im not bothering)