Results 1 to 5 of 5
  1. #1
    MSgt. Shooter Person
    Join Date
    Dec 2010
    Posts
    291

    Default myQuestion about Key Binding

    Hi guys;

    I want to bind "Mouse ScrollUp" to a function. So, to test it, I used the default function name in DefauleInput.ini file :

    .Bindings=(Name="MouseScrollUp",Command=GBA_PrevWe apon")

    I put these codes in my PlayerController class
    But it doesn't works :

    Code:
    class thePlayerController extends PlayerController;
    
         ...
    
    
    exec function GBA_PrevWeapon()
    {
    	`log(" OK, The ScrollUp.... ");
    }


    Thanks for helping
    MSD.

  2. #2
    MSgt. Shooter Person
    Join Date
    Feb 2012
    Posts
    265

    Default

    It actually doesn't call a "GBA_PrevWeapon", look above in the DefaultInput.ini file for all the listed GBA commands, The commands are separated from the input section (I hope I explained that right).

  3. #3
    Redeemer
    Join Date
    Jul 2011
    Location
    London, UK
    Posts
    1,749

    Default

    isn't the command called PrevWeapon ?

  4. #4
    MSgt. Shooter Person
    Join Date
    Dec 2010
    Posts
    291

    Default

    Thanks guys, your right...

  5. #5
    Boomshot
    Join Date
    Aug 2011
    Posts
    2,261

    Default

    GBA roughly stands for Game Bind Alias, which means it routes the event through to another bind by that name, which then calls the actual exec function.


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.