InventoryRemoveCommand
Extends: ESCBaseCommand < Resource
Description
inventory_remove item
Removes an item from the inventory. You may wish to use this command in
conjuction with the set_active
command to show an item in the scene,
simulating placing the item somewhere, for example.
Parameters
item: Global ID of the
ESCItem
to remove from the inventory
@ESC
Constants Descriptions
ILLEGAL_STRINGS
const ILLEGAL_STRINGS: Array = ["/"]
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.