Joined: Tue Jul 03, 2007 4:03 pm Posts: 372
|
im trying to make a sprint for going in all directions
so i used PIThrottle but theres a problem PIThrottle is the w AND s key
so with my code below a person woiuld forward really fast if he press the w OR s key
i want a soldier to press W (0/0/99) and go forward and for S (0/0/-99) to go backwards but i cant figure out how
ObjectTemplate.create ActiveKitPart SprintAllDir ObjectTemplate.setBoneName A ObjectTemplate.setCopyLinksCount 0 ObjectTemplate.setActiveAcceleration 0/0/99 ObjectTemplate.setPassiveAcceleration 0/0/0 ObjectTemplate.burstFrequency 30 ObjectTemplate.setTrigger PIThrottle ObjectTemplate.addToNegativeMask Climbing ObjectTemplate.addToNegativeMask Crouching ObjectTemplate.addToNegativeMask Swiming ObjectTemplate.addToNegativeMask Lying ObjectTemplate.ActiveHeatIncrement 0.01 ObjectTemplate.PassiveHeatIncrement 0.0 ObjectTemplate.CoolingFactor 0.05 ObjectTemplate.ActiveEffectPersistancePerFrame 0 ObjectTemplate.OverrideAirMovementInhibitations 0
|
|