Forum rules - please read before posting.

Click and run

Right now if I double click, my player will run. Is there any way to make him run from one click and maybe walk from two clicks? 

Comments

  • The Player: Constrain Action can be used to enforce running at all times.

    There's no option to have double-clicking initiate a walk, but it could likely be done through script that detects double-clicking and makes the same change that the above Action makes in an Update call, ie:

    if (isDoubleClicking) // Pseudo-code
    {
      KickStarter.playerInput.runLock = PlayerMoveLock.AlwaysWalk;
    }
    else
    {
      KickStarter.playerInput.runLock = PlayerMoveLock.AlwaysRun;
    }



  • Thank you very much Chris.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.