CHANGES TO CORE: comments on action_manager
This commit is contained in:
@@ -75,6 +75,11 @@ var action_state = ACTION_INPUT_STATE.AWAITING_VERB_OR_ITEM \
|
|||||||
#
|
#
|
||||||
# - action: type of the action to run
|
# - action: type of the action to run
|
||||||
# - params: Parameters for the action
|
# - params: Parameters for the action
|
||||||
|
# - BACKGROUND_CLICK: [moving_obj, target, walk_fast]
|
||||||
|
# - ITEM_LEFT_CLICK: [item, input_event]
|
||||||
|
# - ITEM_RIGHT_CLICK: [item, input_event]
|
||||||
|
# - TRIGGER_IN: [trigger_id, object_id, trigger_in_verb]
|
||||||
|
# - TRIGGER_OUT: [trigger_id, object_id, trigger_out_verb]
|
||||||
# - can_interrupt: if true, this command will interrupt any ongoing event
|
# - can_interrupt: if true, this command will interrupt any ongoing event
|
||||||
# before it is finished
|
# before it is finished
|
||||||
func do(action: int, params: Array = [], can_interrupt: bool = false) -> void:
|
func do(action: int, params: Array = [], can_interrupt: bool = false) -> void:
|
||||||
|
|||||||
Reference in New Issue
Block a user