usestairs.gbsres 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "_resourceType": "script",
  3. "id": "523f5755-9873-4dd8-b1b6-0212da38f94c",
  4. "name": "UseStairs",
  5. "description": "",
  6. "variables": {},
  7. "actors": {},
  8. "symbol": "script_0",
  9. "script": [
  10. {
  11. "command": "EVENT_SWITCH_SCENE",
  12. "args": {
  13. "sceneId": "0395a923-237c-476e-9b53-002e64e9b0e1",
  14. "x": {
  15. "type": "variable",
  16. "value": "9"
  17. },
  18. "y": {
  19. "type": "variable",
  20. "value": "10"
  21. },
  22. "direction": "right",
  23. "fadeSpeed": 3
  24. },
  25. "id": "2f1514ab-8b00-4d99-8dfc-b02b083eb865"
  26. },
  27. {
  28. "command": "EVENT_SET_VALUE",
  29. "args": {
  30. "variable": "1",
  31. "value": {
  32. "type": "variable",
  33. "value": "11"
  34. }
  35. },
  36. "id": "177e1b5a-9010-45fb-8d2c-bc15b714ad32"
  37. },
  38. {
  39. "command": "EVENT_SET_VALUE",
  40. "args": {
  41. "variable": "8",
  42. "value": {
  43. "type": "false"
  44. }
  45. },
  46. "id": "3fd8cfb9-26c1-4359-8c97-f00647523b9b"
  47. },
  48. {
  49. "command": "EVENT_SOUND_PLAY_EFFECT",
  50. "args": {
  51. "type": "1eec9e8f-6c62-4716-82a0-2b35046e4d6d",
  52. "priority": "high",
  53. "pitch": 1,
  54. "frequency": 200,
  55. "duration": 1.5,
  56. "wait": true,
  57. "effect": 11
  58. },
  59. "id": "d92b2a1a-8d59-4381-8c37-1190fb35f00d"
  60. }
  61. ]
  62. }