* 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>
54 lines
898 B
Markdown
54 lines
898 B
Markdown
<!-- Auto-generated from JSON by GDScript docs maker. Do not edit this document directly. -->
|
|
|
|
# ESCWalkContext
|
|
|
|
**Extends:** [Object](../Object)
|
|
|
|
## Description
|
|
|
|
The walk context describes the target of a walk command and if that command
|
|
should be executed fast
|
|
|
|
## Property Descriptions
|
|
|
|
### target\_object
|
|
|
|
```gdscript
|
|
var target_object: ESCObject
|
|
```
|
|
|
|
Target object that the walk command tries to reach
|
|
|
|
### target\_position
|
|
|
|
```gdscript
|
|
var target_position: Vector2 = "(0, 0)"
|
|
```
|
|
|
|
The target position
|
|
|
|
### fast
|
|
|
|
```gdscript
|
|
var fast: bool
|
|
```
|
|
|
|
Whether to move fast
|
|
|
|
### dont\_interact\_on\_arrival
|
|
|
|
```gdscript
|
|
var dont_interact_on_arrival: bool
|
|
```
|
|
|
|
Whether an interaction should NOT happen after walk reaches destination
|
|
|
|
## Method Descriptions
|
|
|
|
### \_init
|
|
|
|
```gdscript
|
|
func _init(p_target_object: ESCObject, p_target_position: Vector2, p_fast: bool, p_dont_interact_on_arrival: bool)
|
|
```
|
|
|