scaredghostpatrolling.gbsres 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "_resourceType": "script",
  3. "id": "f47e8b8d-88c3-44ac-90c4-82b14473fb6d",
  4. "name": "ScaredGhostPatrolling",
  5. "description": "",
  6. "variables": {
  7. "V0": {
  8. "id": "V0",
  9. "name": "PointA_X",
  10. "passByReference": true
  11. },
  12. "V1": {
  13. "id": "V1",
  14. "name": "Point_Y",
  15. "passByReference": true
  16. },
  17. "V2": {
  18. "id": "V2",
  19. "name": "PointB_X",
  20. "passByReference": true
  21. }
  22. },
  23. "actors": {
  24. "0": {
  25. "id": "0",
  26. "name": "ScaredGhost"
  27. }
  28. },
  29. "symbol": "script_3",
  30. "script": [
  31. {
  32. "command": "EVENT_ACTOR_MOVE_TO",
  33. "args": {
  34. "actorId": "0",
  35. "x": {
  36. "type": "variable",
  37. "value": "V0"
  38. },
  39. "y": {
  40. "type": "variable",
  41. "value": "V1"
  42. },
  43. "moveType": "horizontal",
  44. "useCollisions": false
  45. },
  46. "id": "79e549a8-8811-4787-b1d3-97d21654b6dc"
  47. },
  48. {
  49. "command": "EVENT_WAIT",
  50. "args": {
  51. "time": 0.5,
  52. "frames": 30
  53. },
  54. "id": "7bc2ae62-3bad-406d-b1a6-215b130eb51f"
  55. },
  56. {
  57. "command": "EVENT_ACTOR_MOVE_TO",
  58. "args": {
  59. "actorId": "0",
  60. "x": {
  61. "type": "variable",
  62. "value": "V2"
  63. },
  64. "y": {
  65. "type": "variable",
  66. "value": "V1"
  67. },
  68. "moveType": "horizontal",
  69. "useCollisions": false
  70. },
  71. "id": "c94cd1e1-e9e1-4fe6-96a3-7c6aa6ea6081"
  72. },
  73. {
  74. "command": "EVENT_WAIT",
  75. "args": {
  76. "time": 0.5,
  77. "frames": 16,
  78. "units": "frames"
  79. },
  80. "id": "1105164d-8dbf-4fc2-8052-217bb8d0fa53"
  81. }
  82. ]
  83. }