exitkey.gbsres 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "_resourceType": "actorPrefab",
  3. "id": "8a2e806f-9089-4c04-a5f0-e3ab970ec3a1",
  4. "name": "ExitKey",
  5. "frame": 0,
  6. "animate": false,
  7. "spriteSheetId": "d3a1b4a0-2865-45a0-bea2-49a66ab7cbfa",
  8. "moveSpeed": 1,
  9. "animSpeed": 255,
  10. "paletteId": "",
  11. "persistent": false,
  12. "collisionGroup": "1",
  13. "script": [
  14. {
  15. "command": "EVENT_IF",
  16. "args": {
  17. "condition": {
  18. "type": "not",
  19. "value": {
  20. "type": "variable",
  21. "value": "0"
  22. }
  23. },
  24. "__collapseElse": true
  25. },
  26. "children": {
  27. "true": [
  28. {
  29. "command": "EVENT_SET_VALUE",
  30. "args": {
  31. "variable": "0",
  32. "value": {
  33. "type": "true"
  34. }
  35. },
  36. "id": "bc3770fd-0ae0-4b9d-a296-a20255a9f035"
  37. },
  38. {
  39. "command": "EVENT_TEXT",
  40. "args": {
  41. "text": "",
  42. "__section": "text",
  43. "avatarId": "",
  44. "minHeight": 4,
  45. "maxHeight": 7,
  46. "textX": 1,
  47. "textY": 1,
  48. "textHeight": 5,
  49. "position": "bottom",
  50. "clearPrevious": true,
  51. "showFrame": "true",
  52. "speedIn": -1,
  53. "speedOut": -1,
  54. "closeWhen": "key",
  55. "closeButton": "a",
  56. "closeDelayTime": 0.5,
  57. "closeDelayFrames": 30
  58. },
  59. "id": "3d7ad9ab-929e-49df-9cbf-b531dab34c2a"
  60. },
  61. {
  62. "command": "EVENT_ACTOR_DEACTIVATE",
  63. "args": {
  64. "actorId": "$self$"
  65. },
  66. "id": "4ea0d5c5-90b3-4a32-b6e9-02b96f2fb676"
  67. }
  68. ],
  69. "false": []
  70. },
  71. "id": "2bd883fa-e800-4577-a5f9-a18d5ec3bc61"
  72. }
  73. ],
  74. "startScript": [],
  75. "updateScript": [],
  76. "hit1Script": [],
  77. "hit2Script": [],
  78. "hit3Script": []
  79. }