You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.4 KiB

  1. * manual
  2. #+begin_src masm
  3. ubind type
  4. #+end_src
  5. * template
  6. #+begin_src masm
  7. control shootp obj unit shoot 0 0
  8. control configure obj configure 0 0 0
  9. control color obj r g b 0
  10. #+end_src
  11. ** toggles/set
  12. #+begin_src masm
  13. ucontrol boost enable 0 0 0 0
  14. ucontrol flag value 0 0 0 0
  15. #+end_src
  16. ** direct commands
  17. #+begin_src masm
  18. ucontrol idle 0 0 0 0 0
  19. ucontrol stop 0 0 0 0 0
  20. ucontrol pathfind 0 0 0 0 0
  21. ucontrol payDrop 0 0 0 0 0
  22. #+end_src
  23. ** direct with bool
  24. #+begin_src masm
  25. ucontrol payTake takeUnits 0 0 0 0
  26. #+end_src
  27. ** xy-direct
  28. #+begin_src masm
  29. ucontrol move x y 0 0 0
  30. ucontrol mine x y 0 0 0
  31. #+end_src
  32. ** xy-param-set
  33. #+begin_src masm
  34. ucontrol approach x y r 0 0
  35. control target x y shoot 0 0
  36. #+end_src
  37. ** xy-param-get
  38. #+begin_src masm
  39. ucontrol within x y raduis result 0
  40. ucontrol getBlock x y type building 0
  41. #+end_src
  42. ** other
  43. #+begin_src masm
  44. ucontrol targetp unit shoot 0 0 0
  45. ucontrol itemDrop to amount 0 0 0
  46. ucontrol itemTake from item amount 0 0
  47. ucontrol build x y block rotation config
  48. #+end_src
  49. * subclass
  50. ** radar, no 'from' param
  51. #+begin_src masm
  52. uradar boss boss player armor 0 order result
  53. #+end_src
  54. ** manual
  55. #+begin_src masm
  56. ulocate ore core enemy @copper outx outy found building
  57. ulocate building core enemy @copper outx outy found building
  58. ulocate spawn core enemy @copper outx outy found building
  59. ulocate damaged core enemy @copper outx outy found building
  60. #+end_src