fix
This commit is contained in:
committed by
Julian Murgia
parent
1e0862c3f2
commit
2dd931fdd0
@@ -1,14 +1,14 @@
|
|||||||
# `walk object target [speed]`
|
# `walk object target [walk_fast]`
|
||||||
#
|
#
|
||||||
# Moves the specified `ESCPlayer` or movable `ESCItem` to `target`
|
# Moves the specified `ESCPlayer` or movable `ESCItem` to `target`
|
||||||
# while playing the `object`'s walking animation. This command is non-blocking.
|
# while playing `object`'s walking animation. This command is non-blocking.
|
||||||
|
# This command will use the normal walk speed by default.
|
||||||
#
|
#
|
||||||
# **Parameters**
|
# **Parameters**
|
||||||
#
|
#
|
||||||
# - *object*: Global ID of the object to move
|
# - *object*: Global ID of the object to move
|
||||||
# - *target*: Global ID of the target object
|
# - *target*: Global ID of the target object
|
||||||
# - *speed*: The speed the `object` will walk in pixels per second (will
|
# - *walk_fast*: Whether to walk fast (`true`) or normal speed (`false`).
|
||||||
# default to the speed configured on the `object`)
|
|
||||||
#
|
#
|
||||||
# @ESC
|
# @ESC
|
||||||
extends ESCBaseCommand
|
extends ESCBaseCommand
|
||||||
@@ -19,8 +19,8 @@ class_name WalkCommand
|
|||||||
func configure() -> ESCCommandArgumentDescriptor:
|
func configure() -> ESCCommandArgumentDescriptor:
|
||||||
return ESCCommandArgumentDescriptor.new(
|
return ESCCommandArgumentDescriptor.new(
|
||||||
2,
|
2,
|
||||||
[TYPE_STRING, TYPE_STRING, TYPE_INT],
|
[TYPE_STRING, TYPE_STRING, TYPE_BOOL],
|
||||||
[null, null, null]
|
[null, null, false]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
# `walk_block object target [speed]`
|
# `walk_block object target [walk_fast]`
|
||||||
#
|
#
|
||||||
# Moves the specified `ESCPlayer` or movable `ESCItem` to `target`
|
# Moves the specified `ESCPlayer` or movable `ESCItem` to `target`
|
||||||
# while playing `object`'s walking animation. This command is blocking.
|
# while playing `object`'s walking animation. This command is blocking.
|
||||||
|
# This command will use the normal walk speed by default.
|
||||||
#
|
#
|
||||||
# **Parameters**
|
# **Parameters**
|
||||||
#
|
#
|
||||||
# - *object*: Global ID of the object to move
|
# - *object*: Global ID of the object to move
|
||||||
# - *target*: Global ID of the target object
|
# - *target*: Global ID of the target object
|
||||||
# - *speed*: The speed the `object` will walk in pixels per second (will
|
# - *walk_fast*: Whether to walk fast (`true`) or normal speed (`false`).
|
||||||
# default to the speed configured on the `object`)
|
|
||||||
#
|
#
|
||||||
# @ESC
|
# @ESC
|
||||||
extends ESCBaseCommand
|
extends ESCBaseCommand
|
||||||
@@ -19,8 +19,8 @@ class_name WalkBlockCommand
|
|||||||
func configure() -> ESCCommandArgumentDescriptor:
|
func configure() -> ESCCommandArgumentDescriptor:
|
||||||
return ESCCommandArgumentDescriptor.new(
|
return ESCCommandArgumentDescriptor.new(
|
||||||
2,
|
2,
|
||||||
[TYPE_STRING, TYPE_STRING, TYPE_INT],
|
[TYPE_STRING, TYPE_STRING, TYPE_BOOL],
|
||||||
[null, null, null]
|
[null, null, false]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user