T92567321A.scriptcanvas 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 961593829368
  9. },
  10. "Name": "Untitled-1",
  11. "Components": {
  12. "Component_[14780053724389789885]": {
  13. "$type": "EditorGraph",
  14. "Id": 14780053724389789885,
  15. "m_graphData": {
  16. "m_nodes": [
  17. {
  18. "Id": {
  19. "id": 965888796664
  20. },
  21. "Name": "EBusEventHandler",
  22. "Components": {
  23. "Component_[12437788921363630799]": {
  24. "$type": "EBusEventHandler",
  25. "Id": 12437788921363630799,
  26. "Slots": [
  27. {
  28. "id": {
  29. "m_id": "{5688FF9E-D2DB-426A-8527-710AD9309E63}"
  30. },
  31. "contracts": [
  32. {
  33. "$type": "SlotTypeContract"
  34. }
  35. ],
  36. "slotName": "Connect",
  37. "toolTip": "Connect this event handler to the specified entity.",
  38. "Descriptor": {
  39. "ConnectionType": 1,
  40. "SlotType": 1
  41. }
  42. },
  43. {
  44. "id": {
  45. "m_id": "{23066A60-F48C-452F-924A-CA6111FBA964}"
  46. },
  47. "contracts": [
  48. {
  49. "$type": "SlotTypeContract"
  50. }
  51. ],
  52. "slotName": "Disconnect",
  53. "toolTip": "Disconnect this event handler.",
  54. "Descriptor": {
  55. "ConnectionType": 1,
  56. "SlotType": 1
  57. }
  58. },
  59. {
  60. "id": {
  61. "m_id": "{C0ABEC8B-31BE-4FF0-BCEA-F3F826091D30}"
  62. },
  63. "contracts": [
  64. {
  65. "$type": "SlotTypeContract"
  66. }
  67. ],
  68. "slotName": "OnConnected",
  69. "toolTip": "Signaled when a connection has taken place.",
  70. "Descriptor": {
  71. "ConnectionType": 2,
  72. "SlotType": 1
  73. }
  74. },
  75. {
  76. "id": {
  77. "m_id": "{ACDFC6EC-BEA5-4FF4-8DA6-2F77DC1D0E1C}"
  78. },
  79. "contracts": [
  80. {
  81. "$type": "SlotTypeContract"
  82. }
  83. ],
  84. "slotName": "OnDisconnected",
  85. "toolTip": "Signaled when this event handler is disconnected.",
  86. "Descriptor": {
  87. "ConnectionType": 2,
  88. "SlotType": 1
  89. }
  90. },
  91. {
  92. "id": {
  93. "m_id": "{4F25408B-493D-4367-8E6A-10B14114C948}"
  94. },
  95. "contracts": [
  96. {
  97. "$type": "SlotTypeContract"
  98. }
  99. ],
  100. "slotName": "OnFailure",
  101. "toolTip": "Signaled when it is not possible to connect this handler.",
  102. "Descriptor": {
  103. "ConnectionType": 2,
  104. "SlotType": 1
  105. }
  106. },
  107. {
  108. "id": {
  109. "m_id": "{31C51D66-924F-451E-BB03-406AAC2D4BD3}"
  110. },
  111. "contracts": [
  112. {
  113. "$type": "SlotTypeContract"
  114. }
  115. ],
  116. "slotName": "Source",
  117. "toolTip": "ID used to connect on a specific Event address (Type: EntityId)",
  118. "Descriptor": {
  119. "ConnectionType": 1,
  120. "SlotType": 2
  121. },
  122. "DataType": 1
  123. },
  124. {
  125. "id": {
  126. "m_id": "{C8B9C4B9-3777-4288-9B9D-C76B1DEDB0C0}"
  127. },
  128. "contracts": [
  129. {
  130. "$type": "SlotTypeContract"
  131. }
  132. ],
  133. "slotName": "EntityId",
  134. "DisplayDataType": {
  135. "m_type": 1
  136. },
  137. "Descriptor": {
  138. "ConnectionType": 2,
  139. "SlotType": 2
  140. },
  141. "DataType": 1
  142. },
  143. {
  144. "id": {
  145. "m_id": "{73019EF2-CFA9-4098-9AF9-B9C31C981BF8}"
  146. },
  147. "contracts": [
  148. {
  149. "$type": "SlotTypeContract"
  150. }
  151. ],
  152. "slotName": "ExecutionSlot:OnEntityActivated",
  153. "Descriptor": {
  154. "ConnectionType": 2,
  155. "SlotType": 1
  156. },
  157. "IsLatent": true
  158. },
  159. {
  160. "id": {
  161. "m_id": "{790E14DB-CA82-4065-BD5E-C9F87896772B}"
  162. },
  163. "contracts": [
  164. {
  165. "$type": "SlotTypeContract"
  166. }
  167. ],
  168. "slotName": "EntityId",
  169. "DisplayDataType": {
  170. "m_type": 1
  171. },
  172. "Descriptor": {
  173. "ConnectionType": 2,
  174. "SlotType": 2
  175. },
  176. "DataType": 1
  177. },
  178. {
  179. "id": {
  180. "m_id": "{942555AF-D9A0-4D00-8F6D-DF388D1B2E2E}"
  181. },
  182. "contracts": [
  183. {
  184. "$type": "SlotTypeContract"
  185. }
  186. ],
  187. "slotName": "ExecutionSlot:OnEntityDeactivated",
  188. "Descriptor": {
  189. "ConnectionType": 2,
  190. "SlotType": 1
  191. },
  192. "IsLatent": true
  193. }
  194. ],
  195. "Datums": [
  196. {
  197. "scriptCanvasType": {
  198. "m_type": 1
  199. },
  200. "isNullPointer": false,
  201. "$type": "EntityId",
  202. "value": {
  203. "id": 2901262558
  204. },
  205. "label": "Source"
  206. }
  207. ],
  208. "m_eventMap": [
  209. {
  210. "Key": {
  211. "Value": 245425936
  212. },
  213. "Value": {
  214. "m_eventName": "OnEntityActivated",
  215. "m_eventId": {
  216. "Value": 245425936
  217. },
  218. "m_eventSlotId": {
  219. "m_id": "{73019EF2-CFA9-4098-9AF9-B9C31C981BF8}"
  220. },
  221. "m_parameterSlotIds": [
  222. {
  223. "m_id": "{C8B9C4B9-3777-4288-9B9D-C76B1DEDB0C0}"
  224. }
  225. ],
  226. "m_numExpectedArguments": 1
  227. }
  228. },
  229. {
  230. "Key": {
  231. "Value": 4273369222
  232. },
  233. "Value": {
  234. "m_eventName": "OnEntityDeactivated",
  235. "m_eventId": {
  236. "Value": 4273369222
  237. },
  238. "m_eventSlotId": {
  239. "m_id": "{942555AF-D9A0-4D00-8F6D-DF388D1B2E2E}"
  240. },
  241. "m_parameterSlotIds": [
  242. {
  243. "m_id": "{790E14DB-CA82-4065-BD5E-C9F87896772B}"
  244. }
  245. ],
  246. "m_numExpectedArguments": 1
  247. }
  248. }
  249. ],
  250. "m_ebusName": "EntityBus",
  251. "m_busId": {
  252. "Value": 3358774020
  253. }
  254. }
  255. }
  256. },
  257. {
  258. "Id": {
  259. "id": 970183763960
  260. },
  261. "Name": "SendScriptEvent",
  262. "Components": {
  263. "Component_[16680746306379302751]": {
  264. "$type": "SendScriptEvent",
  265. "Id": 16680746306379302751,
  266. "Slots": [
  267. {
  268. "id": {
  269. "m_id": "{320D1810-B1A5-4802-B688-81643ECAEFC1}"
  270. },
  271. "contracts": [
  272. {
  273. "$type": "SlotTypeContract"
  274. }
  275. ],
  276. "slotName": "In",
  277. "toolTip": "Fires the specified ScriptEvent when signaled",
  278. "Descriptor": {
  279. "ConnectionType": 1,
  280. "SlotType": 1
  281. }
  282. },
  283. {
  284. "id": {
  285. "m_id": "{E6D860A4-7CC2-4348-8F0A-53A7F4CA5647}"
  286. },
  287. "contracts": [
  288. {
  289. "$type": "SlotTypeContract"
  290. }
  291. ],
  292. "slotName": "Out",
  293. "toolTip": "Trigged after the ScriptEvent has been signaled and returns",
  294. "Descriptor": {
  295. "ConnectionType": 2,
  296. "SlotType": 1
  297. }
  298. },
  299. {
  300. "id": {
  301. "m_id": "{A2AB4843-4F73-4804-88BA-C7D6FEC12564}"
  302. },
  303. "contracts": [
  304. {
  305. "$type": "SlotTypeContract"
  306. }
  307. ],
  308. "slotName": "ParameterName",
  309. "Descriptor": {
  310. "ConnectionType": 1,
  311. "SlotType": 2
  312. },
  313. "DataType": 1
  314. }
  315. ],
  316. "Datums": [
  317. {
  318. "scriptCanvasType": {
  319. "m_type": 5
  320. },
  321. "isNullPointer": false,
  322. "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string",
  323. "value": "Incoming Message",
  324. "label": "ParameterName"
  325. }
  326. ],
  327. "m_version": 2,
  328. "m_eventSlotMapping": {
  329. "{CA271AF8-ACD0-459F-BC91-8A04E585D4A3}": {
  330. "m_id": "{A2AB4843-4F73-4804-88BA-C7D6FEC12564}"
  331. }
  332. },
  333. "m_scriptEventAssetId": {
  334. "guid": "{100359DD-C2EC-5433-843D-DF4C8DAB3888}"
  335. },
  336. "m_asset": {
  337. "assetId": {
  338. "guid": "{100359DD-C2EC-5433-843D-DF4C8DAB3888}"
  339. },
  340. "assetHint": "testassets/t92567321.scriptevents"
  341. },
  342. "m_busId": {
  343. "Value": 3294208574
  344. },
  345. "m_eventId": {
  346. "Value": 1611476995
  347. }
  348. }
  349. }
  350. },
  351. {
  352. "Id": {
  353. "id": 20941781690360
  354. },
  355. "Name": "SC-Node(TimeDelayNodeableNode)",
  356. "Components": {
  357. "Component_[7659315820119826045]": {
  358. "$type": "TimeDelayNodeableNode",
  359. "Id": 7659315820119826045,
  360. "Slots": [
  361. {
  362. "id": {
  363. "m_id": "{4B43561C-6F7D-49B0-93FF-454CE1CC0E84}"
  364. },
  365. "contracts": [
  366. {
  367. "$type": "SlotTypeContract"
  368. }
  369. ],
  370. "slotName": "Start",
  371. "DisplayGroup": {
  372. "Value": 2675529103
  373. },
  374. "Descriptor": {
  375. "ConnectionType": 1,
  376. "SlotType": 1
  377. }
  378. },
  379. {
  380. "id": {
  381. "m_id": "{6DA8D510-FAE4-4B1E-BF3E-C142750573A8}"
  382. },
  383. "contracts": [
  384. {
  385. "$type": "SlotTypeContract"
  386. }
  387. ],
  388. "slotName": "Delay",
  389. "toolTip": "The amount of time to delay before the Done is signalled.",
  390. "DisplayGroup": {
  391. "Value": 2675529103
  392. },
  393. "Descriptor": {
  394. "ConnectionType": 1,
  395. "SlotType": 2
  396. },
  397. "DataType": 1
  398. },
  399. {
  400. "id": {
  401. "m_id": "{E3EA1E72-2315-475B-9EBB-63D0EE8D8265}"
  402. },
  403. "contracts": [
  404. {
  405. "$type": "SlotTypeContract"
  406. }
  407. ],
  408. "slotName": "On Start",
  409. "DisplayGroup": {
  410. "Value": 2675529103
  411. },
  412. "Descriptor": {
  413. "ConnectionType": 2,
  414. "SlotType": 1
  415. }
  416. },
  417. {
  418. "id": {
  419. "m_id": "{CDC0DACA-F0E0-437D-AEC8-0B1DAF960B08}"
  420. },
  421. "contracts": [
  422. {
  423. "$type": "SlotTypeContract"
  424. }
  425. ],
  426. "slotName": "Done",
  427. "toolTip": "Signaled after waiting for the specified amount of times.",
  428. "DisplayGroup": {
  429. "Value": 271442091
  430. },
  431. "Descriptor": {
  432. "ConnectionType": 2,
  433. "SlotType": 1
  434. },
  435. "IsLatent": true
  436. }
  437. ],
  438. "Datums": [
  439. {
  440. "isOverloadedStorage": false,
  441. "scriptCanvasType": {
  442. "m_type": 3
  443. },
  444. "isNullPointer": false,
  445. "$type": "double",
  446. "value": 0.5,
  447. "label": "Delay"
  448. }
  449. ],
  450. "nodeable": {
  451. "m_timeUnits": 2
  452. },
  453. "slotExecutionMap": {
  454. "ins": [
  455. {
  456. "_slotId": {
  457. "m_id": "{4B43561C-6F7D-49B0-93FF-454CE1CC0E84}"
  458. },
  459. "_inputs": [
  460. {
  461. "_slotId": {
  462. "m_id": "{6DA8D510-FAE4-4B1E-BF3E-C142750573A8}"
  463. }
  464. }
  465. ],
  466. "_outs": [
  467. {
  468. "_slotId": {
  469. "m_id": "{E3EA1E72-2315-475B-9EBB-63D0EE8D8265}"
  470. },
  471. "_name": "On Start",
  472. "_interfaceSourceId": "{A886D303-5D00-0000-0E00-000007000000}"
  473. }
  474. ],
  475. "_interfaceSourceId": "{6885D303-5D00-0000-0000-000000000000}"
  476. }
  477. ],
  478. "latents": [
  479. {
  480. "_slotId": {
  481. "m_id": "{CDC0DACA-F0E0-437D-AEC8-0B1DAF960B08}"
  482. },
  483. "_name": "Done",
  484. "_interfaceSourceId": "{6885D303-5D00-0000-0000-000000000000}"
  485. }
  486. ]
  487. }
  488. }
  489. }
  490. }
  491. ],
  492. "m_connections": [
  493. {
  494. "Id": {
  495. "id": 21646156326904
  496. },
  497. "Name": "srcEndpoint=(EntityBus Handler: ExecutionSlot:OnEntityActivated), destEndpoint=(TimeDelay: Start)",
  498. "Components": {
  499. "Component_[3748947300471910888]": {
  500. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  501. "Id": 3748947300471910888,
  502. "sourceEndpoint": {
  503. "nodeId": {
  504. "id": 965888796664
  505. },
  506. "slotId": {
  507. "m_id": "{73019EF2-CFA9-4098-9AF9-B9C31C981BF8}"
  508. }
  509. },
  510. "targetEndpoint": {
  511. "nodeId": {
  512. "id": 20941781690360
  513. },
  514. "slotId": {
  515. "m_id": "{4B43561C-6F7D-49B0-93FF-454CE1CC0E84}"
  516. }
  517. }
  518. }
  519. }
  520. },
  521. {
  522. "Id": {
  523. "id": 22874516973560
  524. },
  525. "Name": "srcEndpoint=(TimeDelay: Done), destEndpoint=(Send Script Event: In)",
  526. "Components": {
  527. "Component_[14333550328889679413]": {
  528. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  529. "Id": 14333550328889679413,
  530. "sourceEndpoint": {
  531. "nodeId": {
  532. "id": 20941781690360
  533. },
  534. "slotId": {
  535. "m_id": "{CDC0DACA-F0E0-437D-AEC8-0B1DAF960B08}"
  536. }
  537. },
  538. "targetEndpoint": {
  539. "nodeId": {
  540. "id": 970183763960
  541. },
  542. "slotId": {
  543. "m_id": "{320D1810-B1A5-4802-B688-81643ECAEFC1}"
  544. }
  545. }
  546. }
  547. }
  548. }
  549. ],
  550. "m_scriptEventAssets": [
  551. [
  552. {
  553. "id": 970183763960
  554. },
  555. {}
  556. ]
  557. ]
  558. },
  559. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  560. "versionData": {
  561. "_grammarVersion": 1,
  562. "_runtimeVersion": 1,
  563. "_fileVersion": 1
  564. },
  565. "GraphCanvasData": [
  566. {
  567. "Key": {
  568. "id": 961593829368
  569. },
  570. "Value": {
  571. "ComponentData": {
  572. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  573. "$type": "SceneComponentSaveData",
  574. "ViewParams": {
  575. "AnchorX": 63.0,
  576. "AnchorY": -83.0
  577. }
  578. }
  579. }
  580. }
  581. },
  582. {
  583. "Key": {
  584. "id": 965888796664
  585. },
  586. "Value": {
  587. "ComponentData": {
  588. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  589. "$type": "NodeSaveData"
  590. },
  591. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  592. "$type": "GeometrySaveData",
  593. "Position": [
  594. 260.0,
  595. 280.0
  596. ]
  597. },
  598. "{9E81C95F-89C0-4476-8E82-63CCC4E52E04}": {
  599. "$type": "EBusHandlerNodeDescriptorSaveData",
  600. "EventIds": [
  601. {
  602. "Value": 245425936
  603. }
  604. ]
  605. },
  606. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  607. "$type": "StylingComponentSaveData"
  608. },
  609. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  610. "$type": "PersistentIdComponentSaveData",
  611. "PersistentId": "{19858EC5-5E6C-4F31-A4BF-BAF120E08154}"
  612. }
  613. }
  614. }
  615. },
  616. {
  617. "Key": {
  618. "id": 970183763960
  619. },
  620. "Value": {
  621. "ComponentData": {
  622. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  623. "$type": "NodeSaveData"
  624. },
  625. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  626. "$type": "GeneralNodeTitleComponentSaveData",
  627. "PaletteOverride": "MethodNodeTitlePalette"
  628. },
  629. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  630. "$type": "GeometrySaveData",
  631. "Position": [
  632. 940.0,
  633. 360.0
  634. ]
  635. },
  636. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  637. "$type": "StylingComponentSaveData",
  638. "SubStyle": ".method"
  639. },
  640. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  641. "$type": "PersistentIdComponentSaveData",
  642. "PersistentId": "{22FE309C-A03D-4342-A232-AB74697B2E86}"
  643. }
  644. }
  645. }
  646. },
  647. {
  648. "Key": {
  649. "id": 20941781690360
  650. },
  651. "Value": {
  652. "ComponentData": {
  653. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  654. "$type": "NodeSaveData"
  655. },
  656. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  657. "$type": "GeneralNodeTitleComponentSaveData",
  658. "PaletteOverride": "TimeNodeTitlePalette"
  659. },
  660. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  661. "$type": "GeometrySaveData",
  662. "Position": [
  663. 620.0,
  664. 340.0
  665. ]
  666. },
  667. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  668. "$type": "StylingComponentSaveData"
  669. },
  670. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  671. "$type": "PersistentIdComponentSaveData",
  672. "PersistentId": "{DB8BF6C1-C75C-40D6-A34D-92D42D9FC20D}"
  673. }
  674. }
  675. }
  676. }
  677. ],
  678. "StatisticsHelper": {
  679. "InstanceCounter": [
  680. {
  681. "Key": 5842116761103598202,
  682. "Value": 1
  683. },
  684. {
  685. "Key": 6462358712820489356,
  686. "Value": 1
  687. },
  688. {
  689. "Key": 12248402908933086295,
  690. "Value": 1
  691. }
  692. ]
  693. }
  694. },
  695. "Component_[14807010280712686987]": {
  696. "$type": "EditorGraphVariableManagerComponent",
  697. "Id": 14807010280712686987
  698. }
  699. }
  700. }
  701. }
  702. }