Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
Sign in to follow this  
chrara

Need help how can i play shoot anim When I HOLDD Mouse Buttn

Question

hi everyone i need help i want to know the script for when i HHOOLLDD the Mouse button and the shoot animation plays really really fast im trying to do it but i have no idea for what to do by the way i already have the weapon setup and Animtion just need the script.

Thanks In Advance.....

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
Please login or register to see this quote.

First of all you need to learn at least basics:

Please login or register to see this link.

And read this tutorial:

Please login or register to see this link.

Share this post


Link to post
Share on other sites

  • 0

I know the tutorials and basics mann i want to know the script and no i do not want to use the FPS KIT or any other kit.

Share this post


Link to post
Share on other sites
  • 0
Please login or register to see this quote.

Why don't you read script reference?

Please login or register to see this link.

In weapon scripts "fire rate" controls how fast your bullets will be shot.

If you call to play animation inside "FireOneShot" function:

Please login or register to see this code.

If you want controll how fast your animation will be played:

Please login or register to see this code.

EXAMPLE

Please login or register to see this spoiler.

Share this post


Link to post
Share on other sites
  • 0

just one thing for that script i want to make the fire animation play over and over like looping how can i do that for when i hold the mouse button not press it.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...