Before updating to Windows 10 you may need to return your Pro license. More information here

Jump Script

Hi im new on the unity 3d and i just know anythings about scripts , i wanna create anouther script for anouther animation of jump , i wanna have 2 animations of jumping , for example when the character have the shild on the back jump and when the character have the shield on the hand jump , and i dont know how to do that , all the attempts i tryed to create the script all the times it give errors

i create this script but dosnt work :S

if (jump==false){ jump=true; _animation[jumpWeaponAnimation.name].speed = jumpAnimationSpeed; _animation[jumpWeaponAnimation.name].wrapMode = WrapMode.ClampForever; _animation.CrossFade(jumpWeaponAnimation.name); } else { _animation[jumpWeaponAnimation.name].speed = -landAnimationSpeed; _animation[jumpWeaponAnimation.nameame].wrapMode = WrapMode.ClampForever; _animation.CrossFade(jumpPoseAnimation.name); } } if (Input.GetKey (KeyCode.V)){ }

And what i can do to improve my script? thanks for your time respects

more ▼

asked Oct 17, 2012 at 01:15 PM

avatar image

3 5 10 15

You'll get more answers if you don't post huge scripts but just the part that is giving you grief. People's time is limited, and few will want to take a break to read your whole script. Where is the error? What is your strategy? Edit your question accordingly, you'll get help.

Oct 17, 2012 at 08:21 PM gregzo

i wanna do a script for 1 animation "jump" and i new and i dont know how :S for example: For 1 Jump animation the character have the shield on the hand And for the anouther have the shield on the spine

Oct 17, 2012 at 08:22 PM Just4Fun

Follow my advice. Ask questions about one aspect of your problem. Don't expect someone to write the whole script for you. Try first to write 2 jump scripts, one for each case.

Oct 17, 2012 at 08:42 PM gregzo

Everyone is here for help. 'help' is an awful tag.

Choose the rare and relevant keywords from your problem and help us all out.

Oct 17, 2012 at 10:03 PM flaviusxvii
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Oct 17, 2012 at 01:15 PM

Seen: 1619 times

Last Updated: Oct 17, 2012 at 10:33 PM