I'm a doctor, not a mechanic
UE3:SeqEvent_DemoInput (UT3)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> SequenceObject >> SequenceOp >> SequenceEvent >> SeqEvent_DemoInput |
Contents |
- Package:
- UTGame
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Demonstrates how to write a kismet event which should be activated by some input event.
[edit] Properties
[edit] Property group 'SeqEvent_DemoInput'
[edit] bTrapInput
Type: bool
whether or not we should eat a matching keypress or let it continue on in the input chain
Default value: True
[edit] ButtonName
Type: name
the name of the button that must be pushed
[edit] ControllerID
Type: int
the ID of the controller that must press the button, or -1 if anybody can do it
Default value: -1
[edit] InputEvent
Type: Object.EInputEvent
the action the user must perform with that button
[edit] Default values
| Property | Value |
|---|---|
| ObjCategory | "DemoGame" |
| ObjName | "Input" |
[edit] Instance functions
[edit] CheckInput
function bool CheckInput (PlayerController Player, int CheckControllerID, name CheckButtonName, Object.EInputEvent CheckInputEvent)
checks if the given input matches what we're looking for, and if so activates
Returns:
- true if the input should be discarded now or false if it should be allowed to continue through the input chain
