Physics Conveyor: OnConveyorSpeedChange

Invoked when the conveyor reaches its target speed, or the target speed changes.

Event

void xxxxxxxxxxxxxxxxx(sender: object);

Parameters

Name Type Description
sender Object The physics conveyor associated with this event.

Example

SubscribeToEvent("OnConveyorSpeedChange", "PhysicsConveyor1", "Physics Conveyor", OnConveyorSpeedChange);
...
function OnConveyorSpeedChange(conveyor)
{
	LogDebug(`${conveyor.Name}.CurrentSpeed = ${conveyor.GetCurrentSpeed()}`);
}