UE3:SeqEvent_DemoInput (UT3)
From Unreal Wiki, The Unreal Engine Documentation Site
![]() |
Object >> SequenceObject >> SequenceOp >> SequenceEvent >> SeqEvent_DemoInput |
- Package:
- UTGame
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} 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.
Properties
Property group 'SeqEvent_DemoInput'
bTrapInput
Type: bool
whether or not we should eat a matching keypress or let it continue on in the input chain
Default value: True
ButtonName
Type: name
the name of the button that must be pushed
ControllerID
Type: int
the ID of the controller that must press the button, or -1 if anybody can do it
Default value: -1
InputEvent
Type: Object.EInputEvent
the action the user must perform with that button
Default values
Property | Value |
---|---|
ObjCategory | "DemoGame" |
ObjName | "Input" |
Instance functions
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