WalkCommand

Extends: ESCBaseCommand < Resource

Description

walk object target [walk_fast]

Moves the specified ESCPlayer or movable ESCItem to the target ESCItem’s location while playing object’s walking animation. This command is non-blocking. This command will use the normal walk speed by default. If the target ESCItem has a child ESCLocation node, the walk destination will be the position of the ESCLocation.

Parameters

  • object: Global ID of the object to move

  • target: Global ID of the target object

  • walk_fast: Whether to walk fast (true) or normal speed (false) (default: false)

@ESC

Property Descriptions

walking_object_node

var walking_object_node: ESCItem

Walking object

target_object_node

var target_object_node: ESCObject

Target object

Method Descriptions

configure

func configure() -> ESCCommandArgumentDescriptor

Return the descriptor of the arguments of this command

validate

func validate(arguments: Array)

Validate whether the given arguments match the command descriptor

run

func run(command_params: Array) -> int

Run the command

interrupt

func interrupt()

Function called when the command is interrupted.