|
Drag[en]gine Script Module DragonScript 1.32.1
|
Commands for player controlled BaseActor with BAAVRMenuInput action. More...
Classes | |
| class | MenuAction |
| Base class operating only on actors with BAAVRMenuInput action. More... | |
| class | StateMachineEventBridge |
| Bridge from BAAVRMenuInput to BAAStateMachineEvent. More... | |
Static Public Member Functions | |
| static void | addCommands (CommandManager commands, ECBehaviorPlayerControllable.Tracker tracker) |
| Add commands to command manager. | |
| static void | addDefaultBindings (DefaultBindingHelper helper) |
| Add default bindings for commands. | |
| static void | addDefaultBindings (DefaultBindingHelper helper, int button) |
| Add default bindings for commands. | |
Commands for player controlled BaseActor with BAAVRMenuInput action.
Contains various commands as sub classes. A static helper method adds instances of each command to the command manager of a BaseGameApp.
|
static |
Add commands to command manager.
Adds these commands:
|
static |
Add default bindings for commands.
Adds bindings for these commands if present in binding manager:
Adds binding to first non-trigger action button.
If you use also CommandsBAAInteract use #addDefaultBindings(DefaultBindingHelper,int) with 1 as button number. This way the trigger and first action button are interactions and the second button is the menu.
|
static |
Add default bindings for commands.
Adds bindings for these commands if present in binding manager:
If you use also CommandsBAAInteract use 1 as button number. This way the trigger and first action button are interactions and the second button is the menu.
| helper | Helper to add bindings to |
| button | Number of action button to use. 0 is the first non-trigger button. |