Difference between revisions of "GET OP SPEED MARKER"

From Macros Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
|param4=<distance>|param4_desc={{get feat dist}}
 
|param4=<distance>|param4_desc={{get feat dist}}
 
|param5=<value>|param5_desc={{parameter_variable_num_name}} the speed value.
 
|param5=<value>|param5_desc={{parameter_variable_num_name}} the speed value.
|param6=<type>|param6_desc={{parameter_variable_num_name}} the direction (1 = fwd, 2 = reverse).
+
|param6=<type>|param6_desc={{parameter_variable_num_name}} the {{speed marker type}}.
  
 
}}
 
}}
  
 
===Example===
 
===Example===
:GET_OP_SPEED_MARKER 1, 4, FeatNum, FeetDist, SpeedVal, SpinDir  
+
:GET_OP_SPEED_MARKER 1, 4, FeatNum, FeatDist, SpeedVal, SpinDir  
  
 
[[Category:Operations]]
 
[[Category:Operations]]

Latest revision as of 12:11, 14 January 2011

Up

Command

GET_OP_SPEED_MARKER <op number>, <marker num>, <feature num>, <distance>, <value>, <type>


Get speed marker data associated with an operation.

Parameters

<op number>
Operation number.
<marker num>
Marker number.
<feature num>
The name of a numeric variable to be set to the feature number.
<distance>
The name of a numeric variable to be set to the distance along the feature (0.0 = start, 1.0 = end).
<value>
The name of a numeric variable to be set to the speed value.
<type>
The name of a numeric variable to be set to the direction (1 = fwd, 2 = reverse).

Example

GET_OP_SPEED_MARKER 1, 4, FeatNum, FeatDist, SpeedVal, SpinDir