Advanced Combat Tracker Plugin API
onTimer Method (iTime, dPercentage, bCompleted)
NamespacesTransitionsTransitionType_DecelerationonTimer(Int32, Double%, Boolean%)
Works out the percentage completed given the time passed in. This uses the formula: s = ut + 1/2at^2 The initial velocity is 2, and the acceleration to get to 1.0 at t=1.0 is -2, so the formula becomes: s = t(2-t)
Declaration Syntax
C#Visual Basic
public void onTimer(
	int iTime,
	out double dPercentage,
	out bool bCompleted
)
Public Sub onTimer ( 
	iTime As Integer,
	<OutAttribute> ByRef dPercentage As Double,
	<OutAttribute> ByRef bCompleted As Boolean
)
Parameters
iTime (Int32)

[Missing <param name="iTime"/> documentation for "M:Transitions.TransitionType_Deceleration.onTimer(System.Int32,System.Double@,System.Boolean@)"]

dPercentage (Double%)

[Missing <param name="dPercentage"/> documentation for "M:Transitions.TransitionType_Deceleration.onTimer(System.Int32,System.Double@,System.Boolean@)"]

bCompleted (Boolean%)

[Missing <param name="bCompleted"/> documentation for "M:Transitions.TransitionType_Deceleration.onTimer(System.Int32,System.Double@,System.Boolean@)"]

Assembly: Advanced Combat Tracker (Module: Advanced Combat Tracker.exe) Version: 3.3.0.254