Direction Fix Button

This script allows you to assign a button that will fix the player’s direction when the button is pressed.

This is useful if you wish to allow players to lock their direction while moving, for example if you want to provide “strafe movement” by moving side to side.

A switch is provided to enable or disable the button’s direction fixing behavior. The switch must be turned on in order for the button to fix the player’s direction. This may be useful when you are creating a cut-scene and you don’t want player actions to affect it.

Downloads

Script: download here

Installation

In the script editor, place this script below Materials and above Main

Usage

In the configuration, choose which button you wish to use to force direction fixing. By default it is button X, which is the “A” key on your keyboard. When this button is pressed, the player’s direction will be fixed.

directionFixButton1
If you are using the default input system and you are not sure which keys correspond to which buttons by default, you can check the keyboard settings when you playtest the game and press F1.

The enable/disable switch is also available in the configuration.

You may also like...

14 Responses

  1. Zacgwe says:

    purchase clozapine generic – altace 5mg tablet order famotidine 20mg generic

  2. Ytcqwt says:

    zidovudine 300 mg uk – purchase glucophage pills allopurinol for sale

  3. Hiauuu says:

    order glycomet 500mg online cheap – buy generic bactrim 960mg lincomycin online

  4. Sdxyah says:

    buy lasix pills for sale – lasix pill capoten 120mg over the counter

  5. Azrsgx says:

    ampicillin cost buy penicillin pills for sale cheap amoxicillin

  6. Npntyp says:

    flagyl 400mg brand – purchase metronidazole azithromycin 250mg uk

  7. Graurf says:

    ivermectin 3 mg stromectol – buy tetracycline 500mg online cheap buy sumycin 250mg pill

  8. Ynpnys says:

    buy valtrex 1000mg sale – nemasole online acyclovir drug

  9. Cfjhfr says:

    order ciprofloxacin 500mg without prescription – purchase ciplox generic purchase erythromycin online cheap

  10. Uhoynx says:

    buy flagyl 400mg – cleocin 300mg for sale cheap azithromycin

  11. Utbmkx says:

    baycip canada – order septra online order augmentin 625mg for sale

  12. Eyakie says:

    ciprofloxacin 1000mg over the counter – augmentin 1000mg uk augmentin 1000mg sale

  13. Emdorr says:

    atorvastatin 20mg over the counter buy atorvastatin 20mg online cheap buy atorvastatin pills

  14. Arsist says:

    You know what this is useful for, along with the tap-directional-turning scripts?
    Falcao’s Pearl Liquid Active Battle System.

Leave a Reply

Your email address will not be published. Required fields are marked *