Skip to Content

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:

NameTypeDescription
brushNumberintThe number of the brush to be set
gunNumberintThe 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:

NameTypeDescription
brushNumberintThe number of the brush to be set
gunNumberintThe number of the gun for which the brush should be set. 0 means all guns.
exactStopboolExact stop on event. Default = True.
triggerRelatedToStartboolTrigger delta related to start(True) or end point(False). Default = True.
triggerTimefloatTrigger time
triggerDistancefloatTrigger 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:

NameTypeDescription
gunStateboolWhether to turn the gun on or off.
gunNumberintThe 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:

NameTypeDescription
gunStateboolWhether to turn the gun on or off.
gunNumberintThe number of the gun to be turned on or off. 0 means all guns.
exactStopboolExact stop on event. Default = True.
triggerRelatedToStartboolTrigger delta related to start(True) or end point(False). Default = True.
triggerTimefloatTrigger time
triggerDistancefloatTrigger distance
Was this page helpful?