activator.scriptcanvas 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 727905459893
  9. },
  10. "Name": "activator",
  11. "Components": {
  12. "Component_[11835281288599326982]": {
  13. "$type": "EditorGraphVariableManagerComponent",
  14. "Id": 11835281288599326982
  15. },
  16. "Component_[1857893623130672196]": {
  17. "$type": "EditorGraph",
  18. "Id": 1857893623130672196,
  19. "m_graphData": {
  20. "m_nodes": [
  21. {
  22. "Id": {
  23. "id": 4206828969653
  24. },
  25. "Name": "SC-Node(Print)",
  26. "Components": {
  27. "Component_[13205185175647831639]": {
  28. "$type": "Print",
  29. "Id": 13205185175647831639,
  30. "Slots": [
  31. {
  32. "id": {
  33. "m_id": "{7BD3AD14-687C-473A-9FC3-1B02364D0F66}"
  34. },
  35. "contracts": [
  36. {
  37. "$type": "SlotTypeContract"
  38. }
  39. ],
  40. "slotName": "In",
  41. "toolTip": "Input signal",
  42. "Descriptor": {
  43. "ConnectionType": 1,
  44. "SlotType": 1
  45. }
  46. },
  47. {
  48. "id": {
  49. "m_id": "{98F0679B-5654-4983-A72D-6B2E4F21E8DE}"
  50. },
  51. "contracts": [
  52. {
  53. "$type": "SlotTypeContract"
  54. }
  55. ],
  56. "slotName": "Out",
  57. "Descriptor": {
  58. "ConnectionType": 2,
  59. "SlotType": 1
  60. }
  61. }
  62. ],
  63. "m_format": "Activator Script: Activated",
  64. "m_unresolvedString": [
  65. "Activator Script: Activated"
  66. ]
  67. }
  68. }
  69. },
  70. {
  71. "Id": {
  72. "id": 2858209238709
  73. },
  74. "Name": "EBusEventHandler",
  75. "Components": {
  76. "Component_[277902526540830956]": {
  77. "$type": "EBusEventHandler",
  78. "Id": 277902526540830956,
  79. "Slots": [
  80. {
  81. "id": {
  82. "m_id": "{221B33A7-8DC8-4402-AFE3-A33CF99E7555}"
  83. },
  84. "contracts": [
  85. {
  86. "$type": "SlotTypeContract"
  87. }
  88. ],
  89. "slotName": "Connect",
  90. "toolTip": "Connect this event handler to the specified entity.",
  91. "Descriptor": {
  92. "ConnectionType": 1,
  93. "SlotType": 1
  94. }
  95. },
  96. {
  97. "id": {
  98. "m_id": "{6F5092DC-A044-4C6D-894E-B786602DD945}"
  99. },
  100. "contracts": [
  101. {
  102. "$type": "SlotTypeContract"
  103. }
  104. ],
  105. "slotName": "Disconnect",
  106. "toolTip": "Disconnect this event handler.",
  107. "Descriptor": {
  108. "ConnectionType": 1,
  109. "SlotType": 1
  110. }
  111. },
  112. {
  113. "id": {
  114. "m_id": "{914F9309-72B5-4962-8AC8-53FFBEFE11A7}"
  115. },
  116. "contracts": [
  117. {
  118. "$type": "SlotTypeContract"
  119. }
  120. ],
  121. "slotName": "OnConnected",
  122. "toolTip": "Signaled when a connection has taken place.",
  123. "Descriptor": {
  124. "ConnectionType": 2,
  125. "SlotType": 1
  126. }
  127. },
  128. {
  129. "id": {
  130. "m_id": "{6341AEE6-F8D7-4D5A-B805-90A9DEAE8322}"
  131. },
  132. "contracts": [
  133. {
  134. "$type": "SlotTypeContract"
  135. }
  136. ],
  137. "slotName": "OnDisconnected",
  138. "toolTip": "Signaled when this event handler is disconnected.",
  139. "Descriptor": {
  140. "ConnectionType": 2,
  141. "SlotType": 1
  142. }
  143. },
  144. {
  145. "id": {
  146. "m_id": "{D9498AE0-3624-484F-A561-66D8AB865802}"
  147. },
  148. "contracts": [
  149. {
  150. "$type": "SlotTypeContract"
  151. }
  152. ],
  153. "slotName": "OnFailure",
  154. "toolTip": "Signaled when it is not possible to connect this handler.",
  155. "Descriptor": {
  156. "ConnectionType": 2,
  157. "SlotType": 1
  158. }
  159. },
  160. {
  161. "id": {
  162. "m_id": "{73476444-68AA-43E5-BDDE-48A4DE1D2A16}"
  163. },
  164. "contracts": [
  165. {
  166. "$type": "SlotTypeContract"
  167. }
  168. ],
  169. "slotName": "Source",
  170. "toolTip": "ID used to connect on a specific Event address (Type: EntityId)",
  171. "Descriptor": {
  172. "ConnectionType": 1,
  173. "SlotType": 2
  174. },
  175. "DataType": 1
  176. },
  177. {
  178. "id": {
  179. "m_id": "{08B6044C-CC1F-4A83-A27C-F533922E02F5}"
  180. },
  181. "contracts": [
  182. {
  183. "$type": "SlotTypeContract"
  184. }
  185. ],
  186. "slotName": "EntityId",
  187. "DisplayDataType": {
  188. "m_type": 1
  189. },
  190. "Descriptor": {
  191. "ConnectionType": 2,
  192. "SlotType": 2
  193. },
  194. "DataType": 1
  195. },
  196. {
  197. "id": {
  198. "m_id": "{E6AF3DA2-100D-45FB-B0CC-FD3C32EE189B}"
  199. },
  200. "contracts": [
  201. {
  202. "$type": "SlotTypeContract"
  203. }
  204. ],
  205. "slotName": "ExecutionSlot:OnEntityActivated",
  206. "Descriptor": {
  207. "ConnectionType": 2,
  208. "SlotType": 1
  209. },
  210. "IsLatent": true
  211. },
  212. {
  213. "id": {
  214. "m_id": "{E2C4BA7E-6D27-4C26-8CD5-1FE17CBD0242}"
  215. },
  216. "contracts": [
  217. {
  218. "$type": "SlotTypeContract"
  219. }
  220. ],
  221. "slotName": "EntityId",
  222. "DisplayDataType": {
  223. "m_type": 1
  224. },
  225. "Descriptor": {
  226. "ConnectionType": 2,
  227. "SlotType": 2
  228. },
  229. "DataType": 1
  230. },
  231. {
  232. "id": {
  233. "m_id": "{1BDAEE8B-1C3F-47E3-8C82-4B4A697310DC}"
  234. },
  235. "contracts": [
  236. {
  237. "$type": "SlotTypeContract"
  238. }
  239. ],
  240. "slotName": "ExecutionSlot:OnEntityDeactivated",
  241. "Descriptor": {
  242. "ConnectionType": 2,
  243. "SlotType": 1
  244. },
  245. "IsLatent": true
  246. }
  247. ],
  248. "Datums": [
  249. {
  250. "isOverloadedStorage": false,
  251. "scriptCanvasType": {
  252. "m_type": 1
  253. },
  254. "isNullPointer": false,
  255. "$type": "EntityId",
  256. "value": {
  257. "id": 2901262558
  258. }
  259. }
  260. ],
  261. "m_eventMap": [
  262. {
  263. "Key": {
  264. "Value": 245425936
  265. },
  266. "Value": {
  267. "m_eventName": "OnEntityActivated",
  268. "m_eventId": {
  269. "Value": 245425936
  270. },
  271. "m_eventSlotId": {
  272. "m_id": "{E6AF3DA2-100D-45FB-B0CC-FD3C32EE189B}"
  273. },
  274. "m_parameterSlotIds": [
  275. {
  276. "m_id": "{08B6044C-CC1F-4A83-A27C-F533922E02F5}"
  277. }
  278. ],
  279. "m_numExpectedArguments": 1
  280. }
  281. },
  282. {
  283. "Key": {
  284. "Value": 4273369222
  285. },
  286. "Value": {
  287. "m_eventName": "OnEntityDeactivated",
  288. "m_eventId": {
  289. "Value": 4273369222
  290. },
  291. "m_eventSlotId": {
  292. "m_id": "{1BDAEE8B-1C3F-47E3-8C82-4B4A697310DC}"
  293. },
  294. "m_parameterSlotIds": [
  295. {
  296. "m_id": "{E2C4BA7E-6D27-4C26-8CD5-1FE17CBD0242}"
  297. }
  298. ],
  299. "m_numExpectedArguments": 1
  300. }
  301. }
  302. ],
  303. "m_ebusName": "EntityBus",
  304. "m_busId": {
  305. "Value": 3358774020
  306. }
  307. }
  308. }
  309. }
  310. ],
  311. "m_connections": [
  312. {
  313. "Id": {
  314. "id": 4936973409973
  315. },
  316. "Name": "srcEndpoint=(EntityBus Handler: ExecutionSlot:OnEntityActivated), destEndpoint=(Print: In)",
  317. "Components": {
  318. "Component_[3258377790211584841]": {
  319. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  320. "Id": 3258377790211584841,
  321. "sourceEndpoint": {
  322. "nodeId": {
  323. "id": 2858209238709
  324. },
  325. "slotId": {
  326. "m_id": "{E6AF3DA2-100D-45FB-B0CC-FD3C32EE189B}"
  327. }
  328. },
  329. "targetEndpoint": {
  330. "nodeId": {
  331. "id": 4206828969653
  332. },
  333. "slotId": {
  334. "m_id": "{7BD3AD14-687C-473A-9FC3-1B02364D0F66}"
  335. }
  336. }
  337. }
  338. }
  339. }
  340. ]
  341. },
  342. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  343. "versionData": {
  344. "_grammarVersion": 1,
  345. "_runtimeVersion": 1,
  346. "_fileVersion": 1
  347. },
  348. "GraphCanvasData": [
  349. {
  350. "Key": {
  351. "id": 727905459893
  352. },
  353. "Value": {
  354. "ComponentData": {
  355. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  356. "$type": "SceneComponentSaveData",
  357. "ViewParams": {
  358. "Scale": 0.7939062247624998,
  359. "AnchorX": -690.2578735351563,
  360. "AnchorY": -224.2078399658203
  361. }
  362. }
  363. }
  364. }
  365. },
  366. {
  367. "Key": {
  368. "id": 2858209238709
  369. },
  370. "Value": {
  371. "ComponentData": {
  372. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  373. "$type": "NodeSaveData"
  374. },
  375. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  376. "$type": "GeometrySaveData",
  377. "Position": [
  378. 0.0,
  379. 200.0
  380. ]
  381. },
  382. "{9E81C95F-89C0-4476-8E82-63CCC4E52E04}": {
  383. "$type": "EBusHandlerNodeDescriptorSaveData",
  384. "EventIds": [
  385. {
  386. "Value": 245425936
  387. }
  388. ]
  389. },
  390. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  391. "$type": "StylingComponentSaveData"
  392. },
  393. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  394. "$type": "PersistentIdComponentSaveData",
  395. "PersistentId": "{CAE3870E-69EC-43D9-8396-35AA0CED7D24}"
  396. }
  397. }
  398. }
  399. },
  400. {
  401. "Key": {
  402. "id": 4206828969653
  403. },
  404. "Value": {
  405. "ComponentData": {
  406. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  407. "$type": "NodeSaveData"
  408. },
  409. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  410. "$type": "GeneralNodeTitleComponentSaveData",
  411. "PaletteOverride": "StringNodeTitlePalette"
  412. },
  413. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  414. "$type": "GeometrySaveData",
  415. "Position": [
  416. 400.0,
  417. 240.0
  418. ]
  419. },
  420. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  421. "$type": "StylingComponentSaveData"
  422. },
  423. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  424. "$type": "PersistentIdComponentSaveData",
  425. "PersistentId": "{1C56A49B-DA62-44D0-841B-FEBB7557C113}"
  426. }
  427. }
  428. }
  429. }
  430. ],
  431. "StatisticsHelper": {
  432. "InstanceCounter": [
  433. {
  434. "Key": 5842116761103598202,
  435. "Value": 1
  436. },
  437. {
  438. "Key": 10684225535275896474,
  439. "Value": 1
  440. }
  441. ]
  442. }
  443. }
  444. }
  445. }
  446. }
  447. }