Difference between revisions of "MC Arw GetActive"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | Returns a numerical value indicating the arrow ID number of the currently selected arrow | + | Returns a numerical value indicating the arrow ID number of the currently selected arrow. |
− | + | MC_Arw_GetActive returns a value of -1 if no arrows are currently selected. | |
+ | |||
+ | == Usage == | ||
<syntaxhighlight>MC_Arw_GetActive</syntaxhighlight> | <syntaxhighlight>MC_Arw_GetActive</syntaxhighlight> | ||
+ | |||
+ | == Notes == | ||
+ | * Use [[Arw_GetActive]], [[Arw_GetFirst]] or [[Arw_GetNext]] to get the object-specific ID number of earlier, already created arrows. | ||
− | + | == Example == | |
Assign a value, indicating the arrow ID number of the currently selected arrow, to Value1 variable: | Assign a value, indicating the arrow ID number of the currently selected arrow, to Value1 variable: | ||
+ | |||
<syntaxhighlight>Value1 = MC_Arw_GetActive;</syntaxhighlight> | <syntaxhighlight>Value1 = MC_Arw_GetActive;</syntaxhighlight> | ||
− | |||
[[Category:ArrowDrawing]] | [[Category:ArrowDrawing]] |
Revision as of 09:25, 19 February 2012
Returns a numerical value indicating the arrow ID number of the currently selected arrow.
MC_Arw_GetActive returns a value of -1 if no arrows are currently selected.
Usage
MC_Arw_GetActive
Notes
- Use Arw_GetActive, Arw_GetFirst or Arw_GetNext to get the object-specific ID number of earlier, already created arrows.
Example
Assign a value, indicating the arrow ID number of the currently selected arrow, to Value1 variable:
Value1 = MC_Arw_GetActive;