Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. === CDOTA_PanoramaScript_GameUI ===
  2. | GetCursorPosition
  3. | <code>GameUI.GetCursorPosition( js_raw_args args )</code>
  4. | Get the current mouse position.
  5. |-
  6. | FindScreenEntities
  7. | <code>GameUI.FindScreenEntities( js_raw_args args )</code>
  8. | Return the entity index of the entity under the given screen position.
  9. |-
  10. | GetScreenWorldPosition
  11. | <code>GameUI.GetScreenWorldPosition( js_raw_args args )</code>
  12. | Get the world position of the screen position, or null if the cursor is out of the world.
  13. |-
  14. | WasMousePressed
  15. | <code>GameUI.WasMousePressed( integer nButtonNum )</code>
  16. | Install a mouse input filter
  17. |-
  18. | WasMouseDoublePressed
  19. | <code>GameUI.WasMouseDoublePressed( integer nButtonNum )</code>
  20. | Install a mouse input filter
  21. |-
  22. | IsMouseDown
  23. | <code>GameUI.IsMouseDown( integer nButtonNum )</code>
  24. | Install a mouse input filter
  25. |-
  26. | IsShiftDown
  27. | <code>GameUI.IsShiftDown()</code>
  28. | Is the shift button pressed?
  29. |-
  30. | IsAltDown
  31. | <code>GameUI.IsAltDown()</code>
  32. | Is the alt button pressed?
  33. |-
  34. | IsControlDown
  35. | <code>GameUI.IsControlDown()</code>
  36. | Is the control button pressed?
  37. |-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement