Ayudaaaa Error CS1501
Ayuda no se que pasa pero no me funciona este script me podrian decir porque?? el error es: Error CS1501: No overload fpr method Move' takes
3' arguments
y tambien me da el error CS0101
using UnityEngine; [RequireComponent(typeof(Rigidbody))] [RequireComponent(typeof(CapsuleCollider))] [RequireComponent(typeof(Animator))] %|170241010_1|% %|216083337_2|% %|-2133720720_3|% %|2020875628_4|% %|-279789494_5|% %|840754595_6|% public float SlideVelocity = 10f; %|-35783494_8|% public float WallrunVelocity = 10f; %|306738425_10|% %|-804422225_11|% %|-1105241984_12|% public float ClimbOffset = 1.25f; %|-1376633644_14|% %|1053254453_15|% %|-971811478_16|% %|659032782_17|% %|-336953865_18|% %|991336526_19|% %|200775309_20|% public bool isFalling; %|-1378914609_22|% %|-570272206_23|% %|-111922500_24|% public bool isSliding; %|2135302888_26|% bool canWallrun; %|-572708070_28|% %|2075351872_29|% %|177599907_30|% %|54565088_31|% %|1759262448_32|% RaycastHit hit; %|-2038207450_34|% %|221090289_35|% %|-1874134848_36|% %|519804832_37|% %|2107818643_38|% %|1812086879_39|% %|246608026_40|% %|2146577398_41|% %|506042491_42|% %|2057253712_43|% %|-1939226707_44|% %|-910665288_45|% Screen.lockCursor = true; m_Character = GetComponent<ThirdPerson>(); %|588615968_48|% m_Rigidbody = GetComponent<Rigidbody>(); %|513537962_50|% %|1460631753_51|% %|-858866654_52|% %|-690569413_53|% m_Rigidbody.freezeRotation = true; %|2096562935_55|% %|1743844160_56|% %|-1991681225_57|% %|1164416230_58|% %|652275586_59|% %|-956328715_60|% %|-1848492323_61|% %|-798946515_62|% %|120781442_63|% %|505803143_64|% %|645009689_65|% %|-374623911_66|% %|-2095032952_67|% } %|190661847_69|% %|-614554442_70|% %|103473341_71|% if (angleP != 0) { %|-1665666871_73|% %|1445400223_74|% } %|-1675996432_76|% if (m_Rigidbody.velocity.y < -3f) {//Falling State// %|1921093171_78|% %|-648024069_79|% %|-1374264591_80|% %|-1045488841_81|% %|-357299896_82|% m_Animator.applyRootMotion = true; %|-1929945817_84|% %|-667583666_85|% %|-18933601_86|% %|-2089660751_87|% %|1830221015_88|% %|1700000789_89|% m_Animator.applyRootMotion = false; %|-637239365_91|% %|-1357669670_92|% %|-1024020400_93|% %|-1491370582_94|% %|-1076039686_95|% %|2899308_96|% %|-1025558948_97|% m_Character.Move(m_Move, isCrouching, isSneaking); %|-138089794_99|% %|284668227_100|% %|2039750071_101|% %|835895861_102|% %|1931281427_103|% %|587274211_104|% %|995629253_105|% %|1105152011_106|% %|856801829_107|% %|479450928_108|% %|-555657519_109|% %|-1773442857_110|% %|1629944032_111|% %|-476645820_112|% %|-308903343_113|% %|-740323207_114|% %|-1549091882_115|% %|1308685186_116|% } void ScaleCapsuleForCrouchingAndSliding(){ %|-263517594_119|% isCrouching = true; %|-1012445502_121|% %|-368846615_122|% %|1696045593_123|% %|-1663628368_124|% %|1672886370_125|% %|1941191232_126|% %|-1595186353_127|% %|1496444935_128|% %|-641424609_129|% m_Capsule.center = m_CapsuleCenter; %|902812698_131|% %|930284097_132|% %|767753225_133|% %|-2015394504_134|% %|-861549207_135|% %|-1137628132_136|% %|-1219210700_137|% %|1954425192_138|% %|2004799080_139|% %|12952917_140|% } %|-976451671_142|% %|835908135_143|% %|-681948543_144|% m_Animator.SetBool("Crouch", isCrouching); %|2048089828_146|% if (!isGrounded){ %|-91878115_148|% %|1817692002_149|% %|-6152657_150|% %|-897766626_151|% %|-742928157_152|% m_Animator.SetFloat("JumpLeg", jumpLeg); %|-758582210_154|% } %|1726040671_156|% %|859988956_157|% %|1528816152_158|% } else { %|1859695296_160|% %|-1425348437_161|% %|-534788851_162|% void Jump(){ if (Input.GetKeyDown (KeyCode.Space) && isGrounded == true && !isCrouching) { %|614808979_165|% %|-1276277786_166|% %|-666336314_167|% } %|2001407837_169|% %|-997782690_170|% %|-1613289828_171|% if (Input.GetKey (KeyCode.Space)) { %|1479821814_173|% %|1384392145_174|% %|-2036991017_175|% %|1038037777_176|% %|-459932998_177|% %|1083587123_178|% %|1205243534_179|% } else if (Physics.Raycast (transform.position + new Vector3 (0, m_CapsuleHeight * 0.75f, 0), -transform.right, out WallHigh) && Physics.Raycast (transform.position + new Vector3 (0, m_CapsuleHeight * 0.08f, 0), -transform.right, out WallLow) && !isGrounded && WallHigh.distance < m_Capsule.radius * 1.8f && WallLow.distance < m_Capsule.radius * 1.8f && m_Move.magnitude > 1.2 && !isFalling && timer < WallrunTime && canWallrun) { %|-516517132_181|% m_Animator.SetBool ("WallrunLeft", true); %|1854654946_183|% %|-1884420056_184|% %|-1029353819_185|% canWallrun = false; %|931579747_187|% %|-1543680561_188|% } %|-616379814_190|% %|491233202_191|% %|-568655104_192|% %|-437986234_193|% %|1619921195_194|% isWallrunning = true; %|-1817262784_196|% m_Capsule.radius = Mathf.Lerp(m_Capsule.radius,m_CapsuleRadius * 2.4f, 15 * Time.deltaTime); %|-401102743_198|% %|1897959987_199|% %|2085453247_200|% %|782861959_201|% %|815708821_202|% Climb (); %|703227632_204|% %|1149921089_205|% canWallrun = false; %|362469881_207|% %|-1160095909_208|% %|363869848_209|% %|1108007948_210|% %|401635742_211|% %|1296065969_212|% %|-603642389_213|% %|2145087678_214|% %|887301050_215|% %|2040019488_216|% %|2027348076_217|% %|-815711531_218|% %|-1904770721_219|% %|-796679960_220|% %|796847140_221|% if (dist < ReachableClimb) { %|305361103_223|% %|2084975150_224|% %|255956794_225|% %|1624443945_226|% m_Capsule.height = m_CapsuleHeight * 0.75f; m_Animator.SetBool ("Climb", true); %|416806259_229|% %|-1688936217_230|% %|-1966897224_231|% ClimbEnd (); %|-530730500_233|% %|-246057036_234|% %|459959542_235|% %|1680142389_236|% %|-1197229721_237|% %|55922882_238|% %|-853085035_239|% %|-189779257_240|% %|1433731059_241|% %|293204504_242|% canClimb = false; %|-557046662_244|% %|-949295088_245|% m_Rigidbody.velocity = transform.forward * 0.05f + transform.up * 0.23f; %|-247817811_247|% %|-619190475_248|% %|29560097_249|% %|1510434664_250|% %|444928927_251|% %|682910355_252|% %|159413891_253|% isClimbing = false; m_Animator.SetBool ("Climb", false); %|1022649779_256|% }
Answer by Erwin23p · Sep 27, 2016 at 11:16 PM
Hola, lo siento, no se como ayudarte pero podrias al menos hacer el favor de poner el script en un pastebin (página útil para guardar y visualizar scripts) o al menos usar el icono de "code" que tienes en la barra de arriba.
Hello, sorry I don't know how to help you but could you at least use a pastebin (website useful for saving scripts and see scripts) or at least use the "code" icon on top of the writing box.
Gracias, Thanks, Erwin.
Code is too long for the "code" icon option, use a pastebin.
Answer by alphanike97 · Sep 28, 2016 at 12:23 PM
@Erwin23p Look the script please!!!1: http://pastebin.com/MYgJiPhc