Difference between revisions of "Arw GetActive"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | Returns a numerical value indicating the object ID number of the currently selected arrow object. | + | Returns a numerical value indicating the '''object ID''' number of the currently selected arrow object. |
Arw_GetActive returns a value of -1 if no arrow objects are currently selected. | Arw_GetActive returns a value of -1 if no arrow objects are currently selected. | ||
Line 9: | Line 9: | ||
== Notes == | == Notes == | ||
− | * An object-specific ID number is assigned by [[Arw_New]], [[Arw_New_s]], [[Arw_New_self]] or [[Arw_New_self_s]] when the arrow object is created. | + | * An object-specific ID number is assigned by [[Arw_New]], [[Arw_New_s]], [[Arw_New_self]] or [[Arw_New_self_s]] when the arrow object is created. |
+ | * Use [[MC_Arw_GetActive]] to get the '''arrow ID''' number of the currently selected arrow. | ||
== Example == | == Example == |
Revision as of 09:28, 19 February 2012
Returns a numerical value indicating the object ID number of the currently selected arrow object.
Arw_GetActive returns a value of -1 if no arrow objects are currently selected.
Usage
Arw_GetActive
Notes
- An object-specific ID number is assigned by Arw_New, Arw_New_s, Arw_New_self or Arw_New_self_s when the arrow object is created.
- Use MC_Arw_GetActive to get the arrow ID number of the currently selected arrow.
Example
Assign a value, indicating the object ID number of the currently selected arrow object, to Value1 variable:
Value1 = Arw_GetActive;