Announcement

Collapse
No announcement yet.

How To make your Character sprint

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Use this tutorial. It sets up an input zone and then you can just script in what you want it to do.

    In your PC class, have a function that is called on when your button is pressed. Its really simple.

    Leave a comment:


  • replied
    thanks, managed to do that, unfortunatley i have no coding experience and im having trouble connecting an increase in speed to an input.

    i tried following this tutorial here:
    http://udkc.info/index.php?title=Tut...peed_by_button)


    but i think im having trouble binding the command to a touch input as the last bit only seems to work for keyboards (this may be totally wrong, im no programmer)

    Leave a comment:


  • replied
    Kismet would not be the way to do this. Kismet should be used for things like triggers to open doors, turn lights on, simple cameras etc. Not gritty stuff that involves a few variables etc.

    Like Tom said, make a script for it.. it is super easy and i am sure it is covered somewhere around here.

    Leave a comment:


  • replied
    You should use scripts for this. Just modify the GroundSpeed variable of your pawn.

    Leave a comment:


  • started a topic How To make your Character sprint

    How To make your Character sprint

    hey is there a way to make a button increase your characters speed [drastically] when held?

    like for example placing a button on the screen for the jazzjackrabbit map, and then setting it up through kismet so when its pressed his walking speed increases?

    using kismet only, i know theres a way, i just cant seem to get it to work.
    any ideas?
Working...
X