ChaseProduct

Make the camera follow a named product.

Function

void ChaseProduct(productName: string, chase: bool)

Parameters

  • productName (string): The product to chase.
  • chase (bool): If true, chase the product. Otherwise, stop chasing the currently chased product.

Remarks

You can get the product names from SetOnProductSelectedCallback. Products are a subset of equipment, so any function that takes an equipment name can take a product name.

If chase is false, then productName is ignored.

Example

Zoom and then chase a specific product.

let product = "hogebox1";
SYM3.ZoomToEquipment(product);
SYM3.ChaseProduct(product, true);