Event_Event Compute Operator — Execution & Actions
Back to Event_Event Compute Operator.
ExecuteBrushEventCompute
def ExecuteBrushEventCompute(brushNumber: int, gunNumber: int)Executes everything that needs to be done for the compute of a brush event. That is an event that sets a specific brush number to a specific gun number. Gun number 0 means all guns.
Parameters:
| Name | Type | Description |
|---|---|---|
brushNumber | int | The number of the brush to be set |
gunNumber | int | The number of the gun for which the brush should be set. 0 means all guns. |
ExecuteBrushEventCompute
def ExecuteBrushEventCompute(brushNumber: int, gunNumber: int, exactStop: bool, triggerRelatedToStart: bool, triggerTime: float, triggerDistance: float)Executes everything that needs to be done for the compute of a brush event. That is an event that sets a specific brush number to a specific gun number. Gun number 0 means all guns.
Parameters:
| Name | Type | Description |
|---|---|---|
brushNumber | int | The number of the brush to be set |
gunNumber | int | The number of the gun for which the brush should be set. 0 means all guns. |
exactStop | bool | Exact stop on event. Default = True. |
triggerRelatedToStart | bool | Trigger delta related to start(True) or end point(False). Default = True. |
triggerTime | float | Trigger time |
triggerDistance | float | Trigger distance |
ExecuteGunEventCompute
def ExecuteGunEventCompute(gunState: bool, gunNumber: int)Executes everything that needs to be done for the compute of a gun event. That is an event that turns a specific gun number on or off. Gun number 0 means all guns.
Parameters:
| Name | Type | Description |
|---|---|---|
gunState | bool | Whether to turn the gun on or off. |
gunNumber | int | The number of the gun to be turned on or off. 0 means all guns. |
ExecuteGunEventCompute
def ExecuteGunEventCompute(gunState: bool, gunNumber: int, exactStop: bool, triggerRelatedToStart: bool, triggerTime: float, triggerDistance: float)Executes everything that needs to be done for the compute of a gun event. That is an event that turns a specific gun number on or off. Gun number 0 means all guns.
Parameters:
| Name | Type | Description |
|---|---|---|
gunState | bool | Whether to turn the gun on or off. |
gunNumber | int | The number of the gun to be turned on or off. 0 means all guns. |
exactStop | bool | Exact stop on event. Default = True. |
triggerRelatedToStart | bool | Trigger delta related to start(True) or end point(False). Default = True. |
triggerTime | float | Trigger time |
triggerDistance | float | Trigger distance |