WoW:API CameraOrSelectOrMoveStop: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
Simulates releasing the left mouse button.
<center>'''CameraOrSelectOrMoveStop'''</center>


Example:
End "Left click" in the 3D game world.


/script CameraOrSelectOrMoveStop();
CameraOrSelectOrMoveStop([stickyFlag])
== Parameters ==
=== Arguments ===
:([stickyFlag])


:;stickyFlag : Flag <small><i>(optional)</i></small> - If present and set then any camera offset is 'sticky' and remains until explicitly cancelled.
=== Returns ===
:<i>nil</i>




Used in conjunction with the CameraOrSelectOrMoveStart command, simulates a left mouse click.
== Details ==
: This function is called when left clicking in the 3-D world.


Example:
: When used alone, can cancel a "mouselook" started by a call to [[API CameraOrSelectOrMoveStart|CameraOrSelectOrMoveStart]].


/script CameraOrSelectOrMoveStart();
: IMPORTANT: The normal restrictions regarding hardware event initiations still apply to anything this function might do.


/script CameraOrSelectOrMoveStop();
----
 
__NOTOC__
 
{{Template:WoW API}}
Result is context sensitive, as the name of the command itself implies; is not a "true" left mouseclick, as it will not activate UI buttons.
 
[[Category:API Functions|CameraOrSelectOrMoveStop]]
[[Category:API Action Functions|CameraOrSelectOrMoveStop]]
[[Category:API Action Functions|CameraOrSelectOrMoveStop]]
[[Category:API Camera Functions|CameraOrSelectOrMoveStop]]
[[Category:API Camera Functions|CameraOrSelectOrMoveStop]]
[[Category:API Movement Functions|CameraOrSelectOrMoveStop]]
[[Category:API Movement Functions|CameraOrSelectOrMoveStop]]

Revision as of 01:44, 20 September 2005

CameraOrSelectOrMoveStop

End "Left click" in the 3D game world.

CameraOrSelectOrMoveStop([stickyFlag])

Parameters

Arguments

([stickyFlag])
stickyFlag
Flag (optional) - If present and set then any camera offset is 'sticky' and remains until explicitly cancelled.

Returns

nil


Details

This function is called when left clicking in the 3-D world.
When used alone, can cancel a "mouselook" started by a call to CameraOrSelectOrMoveStart.
IMPORTANT: The normal restrictions regarding hardware event initiations still apply to anything this function might do.

Template:WoW API