Files
gymkhana-actions/docs/api/ESCWalkContext.md
Julian Murgia b230966fc6 Moved and split escoria._ev_left_click_on_item() function into ESCController (#371)
* Moved and split escoria._ev_left_click_on_item() function into ESCController.
Added a boolean in ESCWalkContext to hold whether interact should happen after destination is reached.

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-08-24 08:19:55 +02:00

898 B

ESCWalkContext

Extends: Object

Description

The walk context describes the target of a walk command and if that command should be executed fast

Property Descriptions

target_object

var target_object: ESCObject

Target object that the walk command tries to reach

target_position

var target_position: Vector2 = "(0, 0)"

The target position

fast

var fast: bool

Whether to move fast

dont_interact_on_arrival

var dont_interact_on_arrival: bool

Whether an interaction should NOT happen after walk reaches destination

Method Descriptions

_init

func _init(p_target_object: ESCObject, p_target_position: Vector2, p_fast: bool, p_dont_interact_on_arrival: bool)