Discord
@hash/process-timer
Behavior
43
0
Public

Process Timer

This behavior is typically used with conveyor belt logic and behaviors to model certain processes on a conveyor belt.

This behavior is typically used with conveyor belt logic and behaviors to model certain processes on a conveyor belt.

When an agent lands on agent with this behavior, the process begins and the timer starts to count down. Once the timer reaches 0, the agent is dumped in the designated direction/position unless there is a blockage or another agent blocking the dump position. The agent is notified of the process completion and the position in which they are dumped. Additional message data can be passed by setting a process_message property.

Process height can be viewed by setting show_height as true in context.globals(), otherwise the height remains static.

Required Variables: process_time, position, dump_position, load_type

Optional Variables: process_message, original_height

Variables Set For You: current_load, prev_load_id

As seen used in [Order Picking Area Conveyor] (https://hash.ai/index/5f174227469801576e02288e/order-picking-area)

Paired With Behaviors:

  1. Conveyor Belt
  2. Conveyor Belt Movement