FireFume
|
  |
| Joined: 03 Aug 2012 |
| Total Posts: 1654 |
|
|
| 02 Nov 2015 09:02 AM |
What is the property "Priority"? And what do they do?
I have a salute animation, the arm goes up, but when the anims over, the arm goes back down, how do I make it so the arm stays up until the script stops it?
Why are my anims breaking my character anim and how to fix?
Thank you so much! |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 02 Nov 2015 09:05 AM |
I think you'll need to use Motor6D, or Pause if the animation object has a pause function.
|
|
|
| Report Abuse |
|
|
FireFume
|
  |
| Joined: 03 Aug 2012 |
| Total Posts: 1654 |
|
|
| 02 Nov 2015 09:08 AM |
| See ethe thing is, my friend that quit ROBLOX did it, then he gave me his place, and theres no 'pausing' he did it, now I am uploading the place as mine and I am making the animations and they aren't pausing at the end |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2015 09:17 AM |
Why on earth would you need a Motor6D?
The animation is the issue:
1. Make an animation 2. Set the FIRST keyframe to the position you want it to take 3. Set priority to action 4. Make sure only the arm you are using is checked 5. Make it looped 6. Upload 7. Done. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 02 Nov 2015 09:19 AM |
what you should do is have 3 animations. a salute animation that ends when their arm first comes up to salute, and then an animation that just loops with their arm in the saluting position.
when they release the mouse button, you should then play the third animation which is their arm coming down from the salute.
so when the player first clicks the mouse button, you should play your first animation (the one in which the player's arm comes up for the salute).
immediately after the first animation is done, play the second animation (the one in which their arm is still in a saluting position, the animation loops)/
after the player let's go of the mouse button, play the third and final animation (the one in which the player's arm comes down from their salute).
as for your priority question, read this article: http://wiki.roblox.com/index.php?title=Animations#Priority |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 02 Nov 2015 09:20 AM |
"after the player let's go of the mouse button"
"let's"
why did I do that
*lets |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 02 Nov 2015 09:22 AM |
| also, I would make sure that you name your final keyframe for each animation something unique so you can use the .KeyframeReached event to play the next animation once your current animation is done. |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2015 09:31 AM |
@Above you are seriously overcomplicating the matter.
ROBLOX automatically interpolates (albeit linear) the animation if there is only 1 keyframe. And, as there is only 1 keyframe and it is looped, mine will do the exact same as yours except with one. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 02 Nov 2015 10:04 AM |
@scripter did that just to see if it was actually that easy and this is what happens:
the arm comes up as expected in the single keyframe anddd then the arm comes down automatically/abruptly because the animation was done and then that repeats because it is looped
maybe I did something wrong, but I am sure it was just a single keyframe animation that was looped. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 02 Nov 2015 10:06 AM |
| either way, I think he wanted it to work like a "traditional" salute tool (ex: as long as you hold down the left mouse button, your arm stays in the saluted position) which is why I suggested 3 animations. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 02 Nov 2015 10:08 AM |
| oh and the right arm was the only checked limb |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2015 10:51 AM |
That is odd. If it is correctly done, as can be seen at my animation place, it should interpolate smoothly.
http://www.roblox.com/games/301633680/CrouchKneel |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 02 Nov 2015 10:57 AM |
| meh, I probably did something wrong |
|
|
| Report Abuse |
|
|