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.

73 lines
1.4 KiB

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