PlayerInputTrigger ​
Inherits: EventTrigger < Resource
Triggers when the player uses a specific input action
Properties ​
String | input_action | "" |
Methods ​
String | get_display_name() |
String | get_function_description() |
Array[String] | get_all_input_actions() static |
void | setup() |
void | cleanup() |
bool | is_triggered( event_data: Dictionary ) |
String | generate_objective_description() |
Property descriptions ​
String input_action = "" ​
The input action name from InputMap
Method descriptions ​
String get_display_name() ​
Return the display name for this trigger
String get_function_description() ​
Return the function description with parameter placeholders
Array[String] get_all_input_actions() ​
Get all available input actions from InputMap
void setup() ​
Set up any listeners or connections needed by this trigger
void cleanup() ​
Clean up any listeners or connections
bool is_triggered( event_data: Dictionary ) ​
Check if this trigger is currently active
String generate_objective_description() ​
Generate quest objective description